Which of the following was one of the terms of Lee's surrender?

A) Confederate soldiers had to give up their horses and mules.

B) The Confederacy had to pay all Union war expenses.

C) Confederate soldiers had to donate pieces of land to free slaves.

D) Confederate soldiers had to return home and promise to stop fighting.