Fortunately he's a human being, and thus should be able to think his way out of the cage. If not, then he is nothing more than an animal who should be locked up before he harms others.
Ivan