 After the war, Graham returned to New York and resumed the practice of civil engineering.From 1878 to 1883, he was surveyor of the port of New York.He died of pneumonia in Lakewood, New Jersey, April 15, 1889, and is buried in Woodlawn Cemetery, The Bronx, New York City.