Adams, who wished to lead his regiment in combat, was able to get horses for his regiment and had it reassigned to front line duty during the closing days of the campaign against Richmond. Adams wrote in his autobiography that he regretted having his unit reassigned since he came to the conclusion that the regiment's black soldiers were ill-suited for combat duty. He led his regiment into Richmond shortly after it was captured in April 1865. Adams returned to Massachusetts in May due to illness (probably dysentery) and resigned from the Army on August 1, 1865.