If you’ve ever waded into the ocean and suddenly realized that the shore was getting farther away, you may have encountered a rip current.