Hermione fought tooth and nail, studying fastidiously under Pomfrey before Pomfrey caught a parasitic necrosis hex to the face trying to heal Terry Boot. Both Madame Pomfrey and Terry died and they had to seal the room to stop the hex from spreading.