My old cat has lost his mind.  He wanders about looking for a place to pee.  Now I can play with him when he is lucid and let him dodder about in the cage when he isn't.  He loves it.  I leave the door open and when he tires of prowling he goes to sleep in his cage.