 Barry was mustered out of the volunteer force on January 15, 1866.On July 17, 1866, President Andrew Johnson nominated Barry for appointment to the brevet grade of major general in the Regular Army, to rank from March 13, 1865, and the U.S. Senate confirmed the appointment on July 23, 1866.On December 11, 1865, Barry was appointed colonel in the 2nd U.S.