 He was mustered out of the volunteers on August 24, 1865.On January 13, 1866, President Andrew Johnson nominated Graham for appointment to the grade of brevet major general of volunteers, to rank from March 13, 1865, and the United States Senate confirmed the appointment on March 12, 1866.After the war, Graham returned to New York and resumed the practice of civil engineering.