In some fanfics, Harry could also be in a state of shock or confusion. He might not be able to fully comprehend why Draco is doing this. This could lead to him being more compliant at first, while his mind races to understand the situation. As he pieces things together, his reaction could change from passive to more assertive depending on what he discovers.
Harry could initially be angry and struggle. He's a brave character, and being tied up against his will would surely make him fight back. He might yell at Draco, demanding to be released and threatening consequences.
Harry might initially be shocked and angry. He would probably struggle against the restraints and demand to know why Snape is doing this. He could yell at Snape, asking for an explanation and protesting his innocence if he believes he has done nothing wrong.
Hermione might initially be furious. She is a strong - willed character, so being tied up against her will would surely make her angry. She would probably start using her wits right away, trying to figure out a way to free herself, whether it's through magic or by tricking Draco.
At first, Draco might be in shock. He didn't expect Harry to break up with him at such a crucial time. Then he could try to reason with Harry, begging him to stay for the sake of their unborn child. When Harry refuses, Draco could turn to his own family for support and close himself off from the outside world for a while.
Harry might be initially angry. After all, he's been hurt. But he could also be a bit confused, especially if he thought Draco didn't mean to do it. In some cases, he might just walk away to cool off and think about what happened.
He could also react with suspicion. Draco might think that Harry has some ulterior motive, especially if the confession is of a more positive nature like friendship or love. He would question Harry's sincerity and might even test him in some way.
Harry might initially be very angry and hurt. He could cut off all communication with Draco and become withdrawn. In some fanfics, he would even start to avoid places where he might run into Draco.
Harry might react with shock. It's an unexpected and inappropriate act in a classroom setting, so he'd probably be frozen for a moment, not knowing how to respond.
Harry might be initially skeptical. After all, Draco has been his tormentor for a long time. He may think it's a trick or some sort of ploy. But if Draco is sincere, Harry could gradually accept the apology. He is a forgiving person at heart.
Harry could also be angry. Despite understanding Dumbledore's generally good intentions, being tied to a bed against his will is a violation of his freedom. He might struggle against the restraints and demand to be released immediately, especially if he feels that Dumbledore is overstepping his boundaries.
One possible reason could be for a power play. Draco, being from a Slytherin family, might want to show his dominance over Harry, who is seen as a hero in the wizarding world. By tying him up, he could be trying to intimidate Harry or gain some sort of advantage in their ongoing rivalry.