Depending on if you had a contract and what exactly it says in terms of how long you have to stay. Investing in a good lawyer would be a good idea if you're unsure
I dunno... It doesn't seem right.
Are you in breach of contract ⁉️
If you had a contract yes.