Yes, #TAM... That Awkward Moment. I always get into awkward moments and believe me, it's not an enjoyable moment.
In addition, if you're just like me, the guy who prefers to pretend and just act busy while the others are in topic, I bet you have a lot of trouble getting out of those moments because it seems like you're being a damn douchebag by leaving them behind. Oh, btw, this isn't like my typical blog posts... So... maybe I'm gonna make these types of stuffs more often.. MAYBE
Anyhow, I know people, especially introverts, have a hard time exiting these moments. It's kinda like you just went into a museum to steal some antique stuff and you need to exit the doors secured by passwords, lasers, flashlights, and guards. You know, kinda like the Mario levels you have to succeed and most probably fail, especially in world 4. (Back to the topic) I find it rude to simply exit while I am accompanying others, but at the same time, I feel like you don't mind my existence within your surrounding (not saying that they're being ignorant). So, obviously, I need to exit, but probably am too shy.
But seriously, if you wanna exit these kind of conversation, you need to know if you are in one or not. If yes, brainstorm a way out of it while they're not paying attention to you yet, probably make an excuse like "Oh, I got some work due tomorrow" or "I had an appointment with my family", and if your friends are fine with it, just go and taste those sweet freedom of planning like a genius.
Honestly, I feel like I've achieved sth when that happens. Yet again, not everyone has the same methods. So.. yea, making another awkward post in where idk how to end with...

...
...
OK, bye. My mom called me