After timing the shark 's circles from the whale carcass to the rock , Nancy swims to a nearby buoy , narrowly avoiding the shark by swimming through a group of jellyfish , which sting both the shark and her .
Nancy sends Steven toward the shore in the film The Shallows .