I connected my earphones on my Laptop and the music played through the earphones.

Now, when I unplugged the earphones, the speakers did not work at all. I restarted the system, still, the speakers do not work.

The sound only comes through earphones when they are plugged in. When they are plugged out, there is no sound from the speakers.