You could see Hermione's magic ark in her hair as her anger elevated to unknown levels; just before she was about to send the boy through the castle the hard way, Harry spoke up to defuse the situation.