Being realistic about the situation would be a start. There will never be a 100% mutiny of military personnel who disagree with the mission they're given. Some can and do object but it's mathematically impossible to expect the entire military to just shut down without a lawful order.