Texas v. White ruled that as practiced by the pretended confederates, secession did not happen.
It could, by ratified treaty, by statute, or by successful federal court case, or by successful rebellion. None of those happened in the 1860s. I don’t think that unilateral secession would be legal, and certainly wasn’t justified by slavery.
Another revisionist historian.....