Maritime Act Article 122

The carrier or shipmaster may detain his cargo against their owner who has not paid contribution to the general average. However, this provision is not applicable where a guarantee has been furnished.
中文原文 海商法第122條
運送人或船長對於未清償分擔額之貨物所有人,得留置其貨物。
但提供擔保者,不在此限。

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