Between 1861 and 1863, during the Civil War, Gansevoort was in charge of ordnance at the Brooklyn Navy Yard, receiving promotion to captain on 16 July 1862, while helping fit out ships which had been acquired for blockade duty. He commanded the ironclad in the last year of the war.