Grabbing hold of Hermione, Harry drew on his magic, thinking of the shoreline and pushed his magic; when he opened his eyes, they were on the shore, still in each other's arms; the rope was around her legs with a rock on the other end of it.