The pearl goes back among the caches of the player it was opened from, and that player's caches are shuffled. The opening still uses air, and the lamp passes as usual. A cancelled pearl turns nobody into a Siren. Because it is not recovered, the Riptide can even cancel the last pearl the Divers need to win.
An Oyster or the Drowned Vault that recovers pearls counts as a pearl too. When its opening is cancelled, the pearls stay inside.
The Riptide can use their ability once per game, on a pearl from any player's caches, their own included. Until then, the game waits 4 seconds after every opened pearl, even when nobody is the Riptide; Snap Judgement and Second Thoughts change that time. Once the card shows face up, a pop-up on the Riptide's screen offers to cancel the card, with a countdown. When the countdown ends, the chance is gone.
Everyone sees the opening cancelled and the pearl go back, but not who cancelled it. So everyone knows the pearl lies in that player's caches again, but not in which cache.
Night Dive cannot be played with the Riptide.