A battered 17-year-old boy who limped into a Tracy gym with a chain locked to his ankle has been returned to protective custody while his three alleged captors awaited their first court appearance Thursday — with one of them admitting in a jailhouse interview that the trio had abused the boy.