I recall back in 7th grade I mapped out a sci-fi story about people having to abandon the Earth after it suddenly transitioned into its red giant phase. I didn’t ever get to writing the story, but I was captivated by the concept of the need for sudden evacuation.