My MacBook Pro's built-in speakers suddenly had no sound.
I checked the audio output and mute switch; all settings were correct.
Finally, I asked GPT and opened Terminal, then ran a command:
sudo killall coreaudiodAfter executing it, the sound immediately played normally.