77. Every person subject to naval law who—
(a) releases without proper authority, whether wilfully or otherwise, any person under naval custody who is committed to his charge, or
(b) wilfully or without reasonable excuse allows to escape any person under naval custody who is committed to his charge, shall be guilty of a naval offence and shall be punished if he has acted wilfully, with rigorous imprisonment for a term not less than three years or any less severe punishment in the scale of punishments, and, in any other case, with simple or rigorous imprisonment for a term not exceeding two years or any less severe punishment in the scale of punishments. *Permitting escape of person in custody.*