Harry would probably be very confused at first. He's so used to Snape's animosity towards him that when Snape forgets who he is, it would be a complete shock. He might also be a bit suspicious, thinking it's some sort of trick. But as time goes on, he could start to feel a bit of pity for Snape, especially if Snape seems lost or confused without his memories of Harry.
Maybe in the fanfiction, Voldemort devises a plan where Snape forgets Harry to disrupt the Order of the Phoenix's plans. Without Snape's knowledge of Harry and his role in the prophecy, things start to go awry. Harry has to find a way to make Snape remember, perhaps by going on a quest to find a magical relic that can restore memories. Hermione and Ron would be by his side, of course, providing their usual support and knowledge.
Snape could initially be skeptical. Given their long - standing enmity, he might not believe that Harry's apology is sincere at first. He might respond with a cold glare or a sarcastic comment, like 'Potter, your apologies are as empty as your head.'
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.
Harry might react with defiance. He has always been a brave character, so he could look Snape straight in the eye and not show any fear, even though he is in a vulnerable position.
Harry might be shocked at first. After all, being hit by a teacher, especially Snape, is unexpected. He could immediately get angry and want to retaliate, but hold himself back because of the situation.
However, as the story progresses, Harry may start to understand the reasons behind Snape's actions. He could become more resigned and accept the punishment as a part of his growth. He might use the experience to become more cautious in his actions and more respectful of the rules.
At first, Ginny would be hurt and disappointed. But being Ginny, she'd also be a bit defiant. She might act like it doesn't matter that much in front of Harry, but then go and pour her heart out to Hermione. She'd be thinking about all the times she remembered important things for Harry, and feeling a bit let down. And she might start to distance herself from Harry until he makes it up to her.
He could also be secretly amused. Despite his stern exterior, Snape might see a bit of his own unrequited love in their relationship. So, he might give them a stern warning but not be as severe as he usually is.
Snape's reaction could also be one of extreme caution. He would be constantly on guard, worried that Harry might discover some of his secrets or that Voldemort's supporters might target Harry while he's in his care. So he would be very vigilant, but this might also lead to some over - the - top reactions when Harry does something even slightly out of the ordinary. However, over time, this vigilance could turn into a form of care as he gets used to Harry being around.
Harry might be initially shocked and embarrassed. A Howler is a very public form of scolding, and in front of all his friends and classmates, it would be a humiliating experience for him.