During the
War of 1812 Conner served in during her chase of
HMS Belvidera and her actions with in February 1813 and the March 1815 capture of . During the capture of the
Penguin he was severely wounded in the hip and his recovery took almost two years. He was held as a prisoner of war by the British. He received promotion to Lieutenant in July 1813. He served as a
Navy Commissioner in 1841 and 1842, and upon the establishment of the
bureau system in the Navy became the first Chief of the
Bureau of Construction, Equipment, and Repair. During the
Mexican–American War, Commodore Conner commanded the
Home Squadron which operated in the
Gulf of Mexico in 1846 and 1847. He successfully disrupted Mexican trade in the Gulf of Mexico with the
Blockade of Veracruz. He attempted an operation up the Alvarado River but had to withdraw due to the lack of shallow draft vessels. On November 14, 1846, he captured
Tampico as a base for future operations. and subsequently commanded the
Philadelphia Navy Yard. Ill health, however, kept him from seeing much other active employment. Commodore Conner died at Philadelphia on 20 March 1856 at age 64 and was interred at
Laurel Hill Cemetery. ==Legacy==