 Boteler returned to Richmond and his legislative duties, then in August 1863 volunteered to serve on the staff of General J. E. B. Stuart (where he continued to serve until that general's death).In February 1864, on General Stuart's recommendation, Boteler became a military judge, and remained such for the remainder of the war.In July 1864, Union troops (following orders of Union General David Hunter during the final campaign against rebel sympathizers) looted and burned Fountain Rock, although only occupied by Boteler's wife, daughters and grandchildren.