I was recently playing on a KOTH map, Illios, and for some reason, on the second round, I ended up spawning in the enemy team's ship.
I think it's most likely a bug that got me there, but here's the rest of the problem. When I tried to leave the enemy team's ship (spawn point), the yellow barrier prevented me from leaving.
The enemy team refused to kill me, finding it somewhat amusing I was in their spawn and thus not only could I not damage them, I could not escape at all, making me their pet.
In any case, I tried changing heroes to return the menu but I got the message "You must be in a spawn room to change heroes.", despite me being in a spawn room, albeit the enemies.
Is there a suicide command that I can bind a key to should I be unable to get out of a spot or be glitched out, just like in this case?