 He was in command of the defenses of the Nashville and Chattanooga Railroad until he was mustered out in 1865.In the omnibus promotions in 1866 following the war, he was brevetted major general, dating from March 13, 1865.He was adjutant general of Minnesota in 1866–70 and 1876–82.