After Virginia voted to secede on April 17, 1861, local officials began to establish control of federal property at Norfolk. However, the valuable shipyard was guarded by troops. While still a civilian, Mahone helped bluff the federal troops to abandon the Gosport Shipyard in Portsmouth by running a single passenger train into Norfolk with great noise and whistle-blowing, then much more quietly sending it back west, and then returning the same train again (again with much noise, etc.) creating the illusion in Portsmouth across the Elizabeth River just out of sight of large numbers of arriving Confederate troops. Combined with carefully placed misinformation to those manning the shipyard, the ruse worked, and not a single Confederate soldier was lost as the Union authorities quickly set fire to the yard and ships and abandoned the area, retreating to Fort Monroe across Hampton Roads.