Texas could legally be its own state. It is the only one that joined the Union by treaty rather than annex. So Texas came on its own terms and could leave on its own as well.