Snape could begin by apologizing for his past behavior towards Harry. This would be a huge step in gaining Harry's trust. Then, he could start mentoring Harry in a more positive way. He could share his own experiences of dealing with dark magic and difficult situations. Snape could also introduce Harry to some of his old contacts or resources that could be useful for Harry's development. For instance, some old books or spells that are not commonly known but could help Harry become stronger both magically and emotionally.
Snape might simply sit with Harry in silence for a while. Just his presence could be reassuring to Harry. After some time, Snape could start a conversation, asking Harry what is wrong in a more empathetic tone than usual. This gradual approach could help Harry calm down.
One possible motive could be that Snape is still deeply influenced by his loyalty to Voldemort in this fanfiction. Maybe Voldemort has some hold over him that forces him to do the unthinkable. Another reason could be a misunderstanding. Snape might believe that Harry has turned to the dark side or is about to, and he decides to take preemptive action to stop what he thinks will be a great evil.
One possible plotline could be that it's the result of some dark magic gone wrong. Maybe a spell was cast on Harry by an enemy of Snape's to embarrass him, and now they have to deal with the consequences together. Another could be that it's part of a prophecy that no one expected, and they must figure out how it fits into the wizarding world's future.
One possible plotline could be Harry being sold due to some dark magic plot against him. Snape then has to deal with this unexpected situation and protect Harry from further harm. Another could be that it's a part of a deal to save the wizarding world, and Snape and Harry must learn to work together in this strange new dynamic.
Another plotline could be that there is a spell or a magical occurrence that forces Snape and Harry to be close to each other. Initially resistant, Snape eventually gives in and cuddles Harry. This could then be the start of a journey where they learn to trust and rely on each other more.
Well, one possible plotline could be that Snape is examining Harry for some sort of magical ability or deficiency that he suspects. Maybe he's trying to figure out why Harry has such an affinity for certain spells. Another could be that Snape is examining Harry as part of a school investigation, perhaps related to some mischief that's been going on. And it could also be that Snape is secretly examining Harry to protect him from some hidden danger in the wizarding world.
One possible motive could be a misunderstanding. Maybe Snape is framed for something really bad, like a dark magic plot against Hogwarts. Harry, in his haste to protect the school and his friends, believes Snape is guilty and takes drastic action. Another reason could be if Snape accidentally endangers someone Harry loves dearly, like Ginny or Ron, and Harry's emotions get the better of him in the heat of the moment.
One way could be through meditation. In fanfiction, Harry might have learned some advanced meditation techniques from the Hogwarts library or from a mysterious wizard. By meditating, he can clear his mind and create a mental shield against nightmares.
One possible reason could be that Harry is afraid of Snape's intimidating presence. Snape has always been strict and rather unfriendly towards Harry in the original series, so in the fanfiction, this fear might be amplified, causing Harry to run. Another reason could be that Harry has stumbled upon something he shouldn't have seen that involves Snape, and he's running to avoid getting caught.
One possible reason could be Snape's sense of duty to protect Hogwarts students in general. Even though he dislikes Harry, he might put aside personal feelings to ensure the safety of a student in a dangerous tournament like the Triwizard Tournament. Another reason could be Dumbledore's influence. Dumbledore trusts Snape and may have asked him to keep an eye on Harry during this event.