Use the teleporter pytamids to get across to the ship, or a teleportation spell (there is a teleport scroll you can find nearby, towards the end of the dock section you can reach without needing to teleport).