Appomattox was April 9th. Lincoln died April 15th.
Johnston surrendered April 26, Richard Taylor surrendered May 4th, Kirby Smith surrendered May 26. What's your point?