Sometimes, you can achieve more with a strategic retreat, or in this case, an honorable resignation. A resignation would speak volumes.
He’s treating the military like it’s a political opponent. Does he even know he’s the Commander In Chief?