 He fell ill during the Siege of Veracruz and spent the rest of the war on recruiting duty.He remained in the army as a first lieutenant (1847), serving as a quartermaster.Elliott was promoted to the rank of captain in 1854.