I don't know how well this will work for everyone but it has worked well for me twice now.
What you will need:
- Paper Clip.
- A little bit of time.
1. Open up music or a music app. I used Spotify because you can see when the music plays and pauses. If you see the music pause, then that's how you know that you are back in ringer mode.
2. Get the paper clip and move around the inside of the headphone jack. You would do it much like as if you were washing a cup.
3. Look for the music to pause. When the music pauses, it would be like you unplugged the headphones.
This method works really nice for me because I don't always have headphones to use and I'm sure you can use any type of object like a paper clip.