The shockwave formed by this sudden collapse causes the rest of the star to explode in a supernova .

In larger stars , fusion continues until collapse ends up causing the star to explode in a supernova .
