Hermione knew she needed to prove her value to them over and over again in order not to get her execution rescheduled, but mostly to be able to produce viable evidence for Shacklebolt and the case he was forming on Draco. She kept her head down, mouth shut, and did what was asked of her no matter where the command originated from.