There is a movie about this. The whole planet has many thousands of rocket engines on one side and the entire planet is turned into a “space ship” leaving the solar system... I got about halfway through it and just got bored.
It’s a Chinese movie.
https://en.wikipedia.org/wiki/The_Wandering_Earth
There was also an episode of the Twilight Zone called “The Midnight Sun”, which starts with the premise that the earth’s orbit was perturbed and the planet was basically falling into the sun; at the end of the show, there’s a twist that this is a woman’s fever dream and that the earth is instead falling out of the solar system with everyone doomed to an icy death.
very bad chin scifi propaganda movie
hollyweird ccp pandering
I’ve seen it. It is OK. One difference here is that they PREPARED for it, though they could only save 10% of the population.