No Sound through Speakers/Headphones until plugged out and again plugged in into audio jack

M1 Pro Macbook 16 inch
Cubase 12.0.xx issue

No sound is coming through my laptop speakers, if I have connected previously via headphone jack. So every time, I have to go search for headphone, and while cubase is running, I have to plug the headphone in, and take it out, to get the sound from speakers. Please fix it.