A Singapore-registered cargo ship was unmoored by strong gales on Friday (July 8) morning at about 7.55am, a Taiwan report said.
The ship Avatar, which was docked at Kaohsiung port, shifted out to sea after the strong winds snapped three cables.
No one was injured and it did not hit a Taiwan navy vessel which was docked at the same pier, the report by Liberty Times said.
Two tug boats moved Avatar to another dock where it berthed safely at 9.20am, the report said.
The ship, which weighs 15,800 tonnes, had no cargo on board.
Correction: An earlier version of the story stated that the ship's name was Avata instead of Avatar. This has been corrected.