He prowled aimlessly about his prison.
He was in prison.