When a star exhaust all its nuclear fuel, it does not collapse immediately, but rather evolves into an isothermal state. This is because there is no longer an energy source to support a temperature gradient, and also it is assumed that that thermal conduction time scale is faster than the Kelvin Helmholtz time scale. The star can be divided into an inner core where all the nuclear fuel was burned, and an outer envelope, that still contains fuel.
Virial Theorem Edit
The hydrostatic equation for the core is
Multiplying both sides by in integrating over the entire volume of the core yields (starting from the left hand side)
where is the average molecular mass of the particles in the core. The right hand side is evaluated using the assumption that the density is uniform throughout the core and equal to the average density
The maximum pressure is
The last value is the maximum pressure that the core can support.