DON’T QUIT!!!
Force them to fire you for non-compliance with the mandate.
Make sure you have evidence that your job loss was due to non-compliance with the mandate.
Then sue them.
Contractors can get let for any reason they want. We are truly canaries in the coal mine.