Complex sentence: Panicking, Sam swims back to shore... but he didn't realize that it was a women's powder room.
Split into simpler sentences: Panicking, Sam swims back to shore. But he didn't realize that it was a women's powder room.