audio – No sound after headphones are disconnected

I am running on BigSur

When my bluetooth headphones disconnect because of running out of battery, the computer does not play any sound anymore.

In the settings I see only the “internal” speaker, which is selected, but still there is no sound played. The microphone works however, as one told me during a video conf.

I have tried this but it did’t do anything.