Want this question answered?
Robert E. Lee surrendered the Army of Northern Virginia to U.S. Grant. As these two oficers both occupied the post of General-in-Chief of their respective armies, this was taken as the end of hostilities. It was actually a couple of weeks later that Joe Johnston's Army of Tennessee surrendered to Sherman, and there were small skirmishes West of the Mississippi for a few weeks beyond that. Appomattox was only an armistice. There was never a peace treaty, since Congress did not recognise the Confederacy as a sovereign nation. This is to point out that "The Confederate Army" as a whole never surrendered. Instead the Confederate forces surrendered piecemeal and not at the same time: Lee surrendered on Apr. 9, 1865. Johnston surrendered on Apr. 18, 1865. Richard Taylor's remnant Confederate Forces in Alabama and Mississippi surrendered on May 4, 1865. Kirby Smith's Trans-Mississippi's Confederate Forces surrendered on May 26, 1865. Indeed I am of the opinion that the question should have been better asked, for instance: "Who were the generals who surrendered the different Confederate Armies to Union Forces?"
Maybe not much. But there was another town called Appamatox Court House. This was where General Lee surrendered his army to General Grant, thus ending the Civil War.
General Lee did not "surrender the Civil War". He surrendered his army, the Army of Northern Virginia, when it was clear that he could no longer effectively fight against the Army of the Potomac commanded by Ulysses Grant.
US Army General Wainwright surrendered to General Yamashita in 1942. It was actually September 3, a full day after the official surrender of the Emperor of Japan. I know, my Dad was there. --- The question was Yamashita's surrender. Yamashita surrendered on September 2, 1945 to the Philippine Guerillas in Kiangan, Ifugao but signed the surrender document in Baguio in front of General Wainright the next day, September 3, 1945.
The Union under Grant. Or more strictly, the Army of the Potomac under General George Meade. (Some said Lee should have surrendered to Meade, not Grant.)
For the US in WWII, US Army General Wainwright surrendered his whole army in the Philippines in '42. For the British, they surrendered their whole army at Singapore.
HE surrendered at the Americans at October 17, 1777
The confederacy never surrendered, General Lee the general of the army of Northern Virgina surrendered his portion of the army at Appomattox.
At the battle of Appomattox courthouse. General Lee surrendered his army of thirty thousand troops. Grant had at least 3x as many troops as Lee.
Appotomax Courthouse
The chief military commander of the Confederacy was General Robert E. Lee who headed the Army of Northern Virginia. He surrendered to the same position in the Union, General Ulysses S. Grant, who headed the Army of the Potomac on April 9, 1865 at the Appomattox Courthouse.
Robert E. Lee
Appomattox Virginia, in the home of the McLean family.
Robert E. Lee was the General-in-Chief, though he only surrendered his own Army of Northern Virginia. Joseph E. Johnston surrendered quite a sizeable army later in the month.
General Cornwallis
General Robert Edward Lee.
On February 2, 1943 the German Army Commander, General Paulus, surrendered to the Russian Army Commander, General Rokossovsky.