That or the sun's expansion would push the Earth out of orbit. It'd die frozen as a rogue planet, untethered to any star and drifting through the void.