In June , 1863 Maj. Gen. Richard S. Ewell was promoted to Lt. Gen. and took command of "Stonewall" Jackson's old 2nd Corps.
By late 1864, Ewell was disabled and Lt. Gen. Jubal A. Early commnded the Corps. By 1865, it was under the command of Maj. Gen. John B. Gordon.
Ewell had been placed in command of a body of disabled soldiers, government clerks and other odd-assorted men as a "Reserve Corps" for the defense of Richmond against raiders. Most of this "corps" was destroyed at Sayler's Creek about a week before the surrender and Ewell was captured.
There was almost nothing left to surrender of this reserve corps.
At Appamattox, the old 2nd Corps was commaned and surrendered by Gordon as part of the over-all surrender.