SG-1 is put on trial and exiled to a prison world, where a woman maintains a strange control over her fellow prisoners.