She could be angry at first. She might think that the punishment is unfair, especially if she believes she had good intentions for her actions. So, she may try to argue her case with Dumbledore.
She might be very disappointed in herself. Hermione is usually a rule - abiding student, so getting punished by Dumbledore would likely make her feel that she let him down.
Another reaction could be that Hermione becomes a bit rebellious. If she feels the punishment is too harsh or unfair, she might start to secretly oppose the headmaster's rule. This could lead to a series of events where she tries to find loopholes in the school rules or even starts a small movement among the students to question the headmaster's decision - making.
In some fanfictions, he might be exiled from the wizarding community. This would isolate him from the people and places he cared about, such as Hogwarts and his friends. It would also serve as a public condemnation of his actions.
She might initially be shocked. Since they are usually friends in the original series, Hermione in fanfiction could be taken aback by Ginny's sudden unkindness.
Snape might endure the punishment in stoic silence. He is a complex character and often used to hiding his true emotions. So, he could just grit his teeth and bear it, all the while plotting his revenge or a way to get out of the situation.
At first, Harry would be in shock. He would be full of disbelief that Dumbledore, of all people, would do such a thing. He would struggle both physically and emotionally. Physically, he would try to break free from whatever bindings or magical restraints Dumbledore has put on him. Emotionally, he would be a mess, feeling hurt, scared, and confused. However, depending on how the story unfolds, he could gradually come to terms with the situation if Dumbledore manages to convince him that it's all for a greater good.
Perhaps she tries to understand Abuela's perspective. Mirabel is a kind - hearted girl, and she may think that there is a reason behind Abuela's actions. So she might try to see things from Abuela's point of view while still feeling the pain of the punishment.
One possible reason could be that she broke a school rule in the fanfiction. Maybe she was caught using magic outside of class in a way that was against Hogwarts' regulations.
Harry might initially be confused. He has always looked up to Dumbledore, so when he realizes Dumbledore is trying to control him, he could start to question everything he thought he knew about their relationship. He may become more rebellious as a result, trying to break free from Dumbledore's influence and make his own decisions.
Often, Hermione reacts with a mix of shock and anger. She's a strong - willed character, so she doesn't just take it lying down. In some fanfictions, she immediately confronts the cheater and gives them a piece of her mind.
Hermione would probably be defiant at first. She's not one to take injustice lying down.