law: 18. Desertion and aiding desertion.
  (1) Any person subject to this Act who deserts or attempts to desert the service shall, on conviction by a Security Force Court,
  (a) if he commits the offence when on active duty or when under orders for active duty, be liable to suffer death or such less punishment as is in this Act mentioned; and
  (b) if he commits the offence under any other circumstances, be liable to suffer imprisonment for a term which may extend to seven years or such less punishment as is in this Act mentioned.
  (2) Any person subject to this Act who knowingly harbours any such deserter shall, on conviction by a Security Force Court, be liable to suffer imprisonment for a term which may extend to seven years or such less punishment as is in this Act mentioned.
  (3) Any person subject to this Act who, being cognizant of any desertion or attempt at desertion of a person subject to this Act, does not forthwith give notice to his own or some other superior officer, or take any steps in his power to cause such person to be apprehended, shall, on conviction by a Security Force Court, be liable to suffer imprisonment for a term which may extend to two years or such less punishment as is in this Act mentioned.