Here "ships" represents the men on the ships. See how you translated this in [Isaiah 23:1](../23/01.md). (See: [[rc://en/ta/man/translate/figs-metonymy]])
This can be stated in active form. Alternate translation: "for enemies have destroyed your refuge" (See: [[rc://en/ta/man/translate/figs-activepassive]])