Oh well. You don’t think that doesn’t happen in the civilian world? Ask all the medical folks who lost their jobs due not getting the vaccination. Sue the Feds? Good luck, hope you have monetary means to do so.
Go ahead and leave. I think a lot of people have a humbling experience when they leave the military because their delusions of grandeur of their “worth” isn’t as high to potential employers as they thought.