Original: Confederate resistance collapsed after Lee surrendered to Grant at Appomattox Court House on April 9, 1865.
Simplified: Lee decided he had too few soldiers to keep on fighting and he surrendered to Grant on April 9, 1865, near Appomattox Court House.