Prisoner threatened to kill if released