Once a big enough wave came in the snake swam through the shallow water back out into the Indian Ocean