Cats don’t like to be in cages, and they’re quite good at getting out. The smarter ones pick the locks. Others do a kind of boneless octopus thing and seep out between the bars. Gives me the willies, watching ’em do it.
On the whole, it seems wiser not to keep the cat in a cage.