If you hit escape during a match you have access to dev tools to make your hero unstuck or suicide, so you're not actually trapped for the rest of a match.
me + the guy who was originally controlling him tried this, it didn't work
I also tried more specific console commands, they didn't work either, apparently they won't work if a character is mid action, and lash was technically in the middle of his ground slam ability