Good history lesson, and the answer is summed up:
“My advice would be to throw sand in the gears,” said Kenney, who was the first State Department official to resign over Bosnia. “You’re not going to do anybody any good by leaving. Nobody is going to listen to you. If you work in the EPA and think the Trump people are the devil, you and every mid-level person who can, mount an internal resistance. There should be opportunities for people who are smart to act in a classic bureaucratic passive-aggressive manner and just be obstructionist. It’s a situation that lends itself to creative opposition from within.”