The ship was taken to a port in northeastern Somalia .