Nope!
Yankees got the Confederate military to surrender. The Confederate government was captured...and released... without any charges. The Confederate government never surrendered, so it still exists, albeit without a body politic.
Lookup the New York Times obituary for Adam Jacoby Slemmer...