This happened while playing Alliance on the RP-PVE ruleset.
I entered Dalaran from its main entrance (I’m also not sure if I’m supposed to be able to do this- all the NPCs said Dalaran was in lockdown, but I was not barred from entering or running everywhere) and was exploring. I entered the Underbelly, and went to see if I could use the sewer exit to reach Lordamere Lake. I stepped into the portal at the end of the sewer pipe, and was faced with the locked sewer gate. I didn’t realize this was a dungeon instance entrance when I was exploring.
I stepped back through the instance portal to try to re-enter Dalaran, but there was now an invisible wall blocking me from further going up the pipe.
So I was stuck since I had no key for the gate and my hearthstone was on cool down.
I requested a Stuck Character move, waited for some time after the game booted me, then logged back in and was still behind the gate. But right at that moment a party unlocked the gate to enter the dungeon, so I was able to exit behind them into Lordamere Lake.
I am not sure if this is an actual bug but I wanted to report it anyway since it is really easy to get stuck there.