I remember reading that. Yeesh.
Our dog was getting a bit restless at the sand bar the other day. On the boat, off the boat, searching for something but I couldn't figure out what. Then it hit me--there's no solid ground for him to "go" on because the sandbar is 6-8" under and there is a 6' deep hole between us and shore.
Made my son put the dog's leash on and swim him to shore where he immediately found a spot in the woods and took care of it. He came back much more relaxed. Much better than your scenario.