Are generals allowed to quit? What principle allows them to quit when we throw lower ranked people in jail when they go awol during conflict?
Any officer is free at any time to submit a offer to resign. It is up to the president or service secretary (depending on grade) to decide whether to accept the offer.