Thanks for reporting this bug, sorry about that! The best way to get out of that is to press f repeatedly until you faint, then respawn.