I thought Joshua Chamberlain accepted Lee’s surrender.
Grant accepted the surrender, and returned to Lee’s Army, their personal arms. There are photos of the event in the history books.
General Grant accepted General Lee’s formal surrender of the Army of Northern Virginia. The actual surrender ceremony,where arms were stacked and flags furled,followed a few day later.
General Chamberlain was U.S. Army officer charged with receiving the surrender of the ANV and presided over the f surrender ceremony. General John Gordon CSA was in charge of the actual surrender of the ANV at this surrender ceremony. General Lee had departed the area a day or so earlier.