“If that had not happened, there would have been no Appomattox.”
If the Declaration of Independence had not happened, there would have been no Appomattox.
So what does your statement mean?
Nothing.
Sumpter led to the disaster that was the war. All Appomattox was the last gasp of one side going down in total defeat.