 In 1861, he resigned his commission in the US Navy and joined the Confederate Navy where he was involved with the conversion of the ironclad , the development of a new rifled naval gun, the Brooke rifle, and the establishment of the Confederate States Naval Academy.