I wouldn’t try this at home, but apparently the hamster is perfectly safe because the cat’s afraid of him. Indeed, the hamster acts like the cat’s not even there. How can this be?
Our cat Henry showed no interest in our pet mice; but that was because we had a tankful of baby fence lizards (hatched here at home!) that quite occupied his fantasies. I wouldn’t have trusted him with a baby lizard for two seconds.