Maritime Act Article 89

Where the ship is unable to enter the port of destination for disembarking the passenger due to an act of God, war or disturbances, epidemic or any extraordinary events at that port, the carrier or shipmaster shall be liable, at the option of passenger, to send the passenger to the nearest port or back to the original port of embarkation.
中文原文 海商法第89條
旅客之目的港如發生天災、戰亂、瘟疫,或其他特殊事故致船舶不能進港卸客者,運送人或船長得依旅客之意願,將其送至最近之港口或送返乘船港。

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