In early 1865, Allen's Division fought in the Carolinas Campaign. Allen and his men surrendered at Concord, North Carolina, on May 3. He was paroled shortly thereafter as a brigadier general. Allen returned home to Alabama and resumed his agricultural pursuits. He was also involved in the railroad industry and later served as the state's Adjutant General during the administration of President Grover Cleveland. He also was for a time a United States Marshal in Alabama. Allen helped found and organize the Confederate Survivors Association of Montgomery. His bullet-holed uniform coat and his battle-flag are buried in the cornerstone of the Confederate monument in Montgomery. In 1893, William W. Allen moved to Sheffield, Alabama, where he died of heart disease the following year. He is buried in Birmingham's Elmwood Cemetery. The Maj. Gen. William Wirt Allen, Chapter 199, of the Military Order of the Stars and Bars is named in his honor and memory.