If detached, why the chains? Maybe they didn't want her to go to Heaven?
Dungeon poisons got ahold of her brain.
Maybe they thought she was a witch?
Mortification of the flesh. An act of repentance and penance, humility and rejection of the world. Performed in various ways - immurement, rejection of footware (hence “discalced” monastic orders), vows of silence, self whipping, etc.