 He later returned to duty in April 1865 during the Carolinas Campaign, against his physicians' orders, and served with his men for the remainder of the war until their surrender to federal forces at Greensboro, North Carolina, in the spring of 1865.He was paroled on May 1, and would be pardoned by the U.S. Government on December 2, 1866.Following the war, Anderson resided in Memphis, Tennessee, although he faced difficulty working due to his injuries sustained during the war.