100. If a master, seaman, or apprentice belonging to a Ceylon ship by wilful breach of duty or by neglect of duty or by reason of drunkenness—
(a) does any act tending to the immediate loss, destruction, or serious damage of the ship, or tending immediately to endanger the life or limb of a person belonging to or on board the ship; or
(b) refuses or omits to do any lawful act proper and requisite to be done by him for preserving the ship from immediate loss, destruction, or serious damage, or for preserving any person belonging to or on board the ship from immediate danger to life or limb, he shall be guilty of an offence and shall, on conviction thereof after summary trial, be liable to a fine not exceeding one thousand rupees or to imprisonment of either description for a term not exceeding six months:
Provided that if in any case the Attorney-General by order under his hand directs that proceedings be taken under Chapter XVI of the Criminal Procedure Code in respect of an offence under this section, such offence shall be triable upon indictment, and shall in such case be punishable with a fine not exceeding one thousand rupees or with imprisonment of either description for a term not exceeding two years. *Misconduct endangering life or ship.* *Cap. 16.*