I'm at the bandit dungeon, but I don’t know how to escape once captured.
Investigate the bars on your cell... maybe there's a weakpoint.