This seems logical
It's a balancing act between mass and gravity pulling in, and radiation pressure pushing out. I would have thought If the star has enough mass, but did not get to fusing iron in the core, at some point, gravity takes over and the star could sort of do an oozlum bird and disappear up it's own singularity as gravity wins over, whatever the actual current composition of the star? I have no idea, I've watched too much star trek and not enough quantum physics.