In situations like this, if you disobey a lawful order - you get fired.

If you don't wish to get fired, but still believe in your stance, then the correct thing to do, is say that "I strongly disagree with this order, and cannot in good conscience obey it. Therefore I resign my position, effectively immediately." 

I don't agree with Yates, but I would have respected her, if she had done that.

She didn't, so I don't.

Good riddance...