27. Resignation

(a) if an emergency has been declared in the country either due to internal disturbance or external aggression; or
(b
(c) if the officer has specifically undertaken to serve for a specified period and such period has not expired.