In some versions, it could be that Harry has to die to break a dark curse placed on Ginny. He discovers that his life is the key to saving her and willingly gives it up. He might have a premonition about Ginny's fate and decides that his death is the only way to change it. He then confronts the source of the curse and allows it to take his life instead of Ginny's.
One possible scenario could be that Ginny meets an old acquaintance who has changed a great deal and she starts to have feelings for this person while still being with Harry. Maybe they share a common interest that she feels Harry doesn't understand. However, this goes against Ginny's strong character in the original series, so it's a very different take in fanfiction.
One possible scenario could be that Harry is overpowered by the Basilisk. Maybe he goes alone to face it without the help of Fawkes or the Sorting Hat's sword, and the Basilisk's venom is too much for him to survive.
One possible scenario could be that Harry loses the love of his life. Maybe she was killed in a battle against dark forces, and he is unable to move on from that grief. His broken heart then leads to his own death as he slowly loses the will to live, consumed by his sorrow and memories of her.
In some fanfictions, they might go on adventures together. Exploring the wizarding world more fully, perhaps seeking out new magical creatures or ancient magic. They have a thirst for discovery after the chaos of the war. Harry's knowledge and Ginny's courage would make them a great team on these excursions.
In some fanfictions, Harry and Ginny might fight side by side, using their respective magical skills. Ginny could be shown as a fierce fighter, using her Bat - Bogey Hex to great effect against the enemies, while Harry uses his Patronus to protect them from Dementors if any are present during the battle.
One possible scenario could be Ginny trying to control who Harry spends time with. For example, she might not like him being around Hermione so much because she's jealous. Another could be her trying to control Harry's actions in the wizarding world, like which quests or missions he undertakes. Maybe she thinks some are too dangerous and tries to stop him forcefully.
It's also possible that they meet at a Weasley family gathering that Harry attends. Ginny, being the youngest Weasley, is a bit shy at first but then Harry says something funny or kind, and that starts their interaction.
Another scenario could be that Gohan contracts a deadly and incurable disease in the fanfiction world. Despite the efforts of his family and friends, including the use of any available advanced technology or magic, he succumbs to the illness, leaving everyone in mourning.
One possible scenario could be that Luffy sacrifices himself to save his crew during a major battle against an extremely powerful enemy. He might use all his strength and energy to protect them, and in the end, it's too much for his body to handle.
Perhaps in the fanfiction, there's a curse that was meant for Snape but Harry jumps in to take it. As Harry is dying in Snape's arms, Snape has a moment of deep reflection. He might think about all the times he could have been kinder to Harry, and how Harry has now become a symbol of the good that Snape had long forgotten in his own life. And this moment of Harry's death could be a turning point for Snape's character development in the fanfiction.