You have to see this footage of a tourist in Honolulu, Hawaii that got too close to the rocks and was swept away by the waves.
I don't think it's a good idea to get that close to the edge of the rock in any case, especially in an unfamiliar location.
Hopefully he was okay, and he learned his lesson.