Macbook Pro Output audio is stuck in headphones mode
Model - Macbook Pro 13 inch 2017 - macOS Big Sur version 11.4
All of a sudden my MacBook pro is stuck in headphones mode, however, I haven't used headphones in past 1 year. Checked system preferences only headphones are available under output sound, internal speakers are not available.
I have tried resetting SMC, NVRAM, repeatedly tried plugging and unplugging headphones, tried volume up and down, forced shut down, and created a new user but no luck. Any help in resetting this issue would be appreciated.