Let's suppose that last Thursday the prosecutor (or whoever had the power) decided that there was a big suicide chance and Aaron Swartz were locked in a psychiatric hospital under suicide watch for his own safety.
I'm sure that it would have been a very big outrage, and most of the people would have say that it was an exaggeration and just an excuse to punish him, and claimed for his immediate liberation.
Given Aaron's history of depression, past blog posts about suicide, the stress of the trial, etc, I am sure that most people would not have been outraged. As long as the psychiatric hospital is believed to be impartial, their judgement would have seemed reasonable.
However the call to actually lock him up in the hospital CANNOT come from someone involved in the legal process against him. Allowing THAT would just lead to further abuses of power.