Ancient Greek writers pioneered the basic structure of most stories; centuries later, European writers such as Gustav Freytag refined it.
After struggling with the conflict of being stuck on an alien world, the protagonist ultimately decided to stay during the story’s resolution.
Plot twist can make an otherwise formulaic story much more unpredictable.