Bang.
No seriously, that is what will happen. The constant exchange between pressure and gravity will result in a supernova explosion when the star will literally implode and then explode, shedding all the remaining gasses into outer space.
What will be left, will depend on the original mass, either a neutron star or a black hole.