Verified Answer :

It was at "Appomattox" that the surrender of the Army of Northern Virginia took place--since this was the final major battle of the Civil War, after which Lee officially surrendered to Grant.

Answer:

it was at Appomattox