The Seafarer Act Article 23

If a fixed term employment contract expires during the period of voyage, the contract is to be terminated at 48 hours after the ship arrives at the first calling port.
中文原文 船員法第23條
定期僱傭契約,其期限於航行中屆滿者,以船舶到達第一港後經過四十八小時為終止。

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