The ship was hit by a wave