After being locked in a cage in the prison yard, Juan Ramirez cried for help, moaned and said he felt he was going to die.