My characters had low sneak skills so I tried to be clever when attempting to acquire the smelly socks from the general's bedside cabinet. I had my char interact with the bed and then interact with the cabinet. I was able to loot the socks but it then triggered combat as the general was just on the other side of the wall screen. My char was then stuck lying in the bed unable to take any actions.
As well this was just after being arrested and sent to jail. I had the key to escape from killing the guards earlier (I wanted in that treasure room :P), however my char that was imprisoned didn't "re-join" the party. As in when selected as my primary char, the others did not follow.
This cause to have two different party's of sort to be in combat with the general (I had them all in the room). I was able to make the other 3, not in the bed, flee from combat, which ended the combat for all characters.
However the one character was still stuck in the be unable to take any action. Going up or down stairs did not fix this either. Nor could I use any of the transport devices. So I re-loaded to an earlier save.