She resorted to her Occlumency Training to calm her mind. It didn't work. Ankaa, her animagus, was yearning to be free and wanted to fly since she hadn't flown in nearly a month, which distracted Hermione.