law: 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) desert his post; or
  (b) sleeps upon his watch, shall be punished with death or such other punishment as is hereinafter mentioned.]