I remember reading a sci-fi novel where a community of immortal beings are trapped within the core of a planet, but the surface they are trapped on is expanding very slowly, so they just have to survive for a few hundred years until they can reach the planet's crust again.
Does anyone recognise this story? Trying to find the title.