In a white dwarf, the star is prevented from collapsing due to the Pauli exclusion principle. If the star is heavy enough, the protons in the star will capture electrons, forming neutrons and bypassing the exclusion principle for electrons. The exclusion principle can come into effect again with ...