Despite Lee's surrender at Appomattox on April 9, Magruder and Smith urged their men to continue the struggle. Having exhausted all options, on June 2 the two generals signed the Canby-Buckner Convention aboard the .