Commander of all the Confederate forces who surrendered at Appomattox Court House

General Robert E. Lee.