Getting captured seems horribly buggy in 1.0.4.16.
More often than not, the enemy will just wander around never putting the player in a jail cell.
I usually can hear my character being assaulted in some random empty spot but the camera and the player character model stay on the patrolling enemy.