The Navy Act,1957
Section 37. Penalty for disobedience in action
Every person subject to naval law who, being in the presence or vicinity of the enemy or having been ordered to be prepared for action by or against the enemy-
(a) deserts his post ; or …
(b) sleeps upon his watch,
shall be punished with death or such other punishment as is herein-after mentioned.]