More convenient times aside, if your iPhone is stuck in headphone mode, it's possible your phone's headphone detection mechanism malfunctioned for some reason. If you're using a Lightning Connector, ...
The SoundMaghic E80D earphones have a USB-C connector ... In theory, the E80D can be used on an iPhone if you use the Apple USB adapter but the problem is the sound is very low.