As Harry talked, and kept Riddle focused on him, Hermione and the Weasleys had been circling around behind Tom. Ron and Ginny picked Luna up from the floor and carried her back toward the entrance, and Hermione darted in and grabbed the diary off the ground. Once Hermione was safely away, she cast a "Sonorous" charm on herself, and blew a raspberry.