The Seafarer Act Article 58

The master of a ship is responsible for commanding the ship. The master, in order to carry out his/her duties, has rights to command and administrate the seafarers and other persons on board the ship.For assuring safety of the ship and protecting human lives or bodies, a master is entitled to take necessary measures to deal with any danger or casualty possibly occurred on the ship.
中文原文 船員法第58條
船舶之指揮,由船長負責;船長為執行職務,有命令與管理在船海員及在船上其他人員之權。
船長為維護船舶安全,保障他人生命或身體,對於船上可能發生之危害,得為必要處置。

English translation for reference only; the Chinese text prevails. Not legal advice.