 Bailey was named acting chief engineer for the city of New Orleans shortly after its occupation.Promoted to major in May 1863, Bailey contributed to the Union Army's engineering activities in support of the Siege of Port Hudson.In August 1863, he was promoted to lieutenant colonel when the regiment was redesignated as the 4th Wisconsin Cavalry Regiment.