It's my understanding that her chain of command ordered her to stay away from the prison. I'll have to check back to find the source for it.
If that's the case, that she was ordered to stay away from the prison, then she should have been charged with disobeying that order. She was not. Instead she was charged with something entirely different.