After the war, Barnes returned to his profession of railroad civil engineering and was a member of the government commission that supervised the building of the Union Pacific Railroad.
Efter krigen vendte Barnes tilbage til sin profession som jernbaneingeniør og var et medlem af den regeringskommission, som overvågede bygningen af Union Pacific Railroad.