I have 3 cats, I let them go and see the hamster as they please because I know that they would never get in the cage or anywhere near the hamster. They just like to sit and watch
The tables turn at night when I exercise my hamster in her ball. She runs around like a lunatic, then when the cat walks in the room, he gets scared of the hamster running towards him in a huge yellow ball and flees