Answer
Robert Smalls broke Confederate laws when he commandeered the Confederate ship, the Planter, but not Union laws. He did this by sailing the ship out of Charleston, South Carolina, and turning it over to the Union Army. This was a significant act of defiance against the Confederacy and helped to turn the tide of the war in favor of the Union.