I used to open cages and have jungles try and eat me....I stopped this with a rolled up newspaper....don't smack them...just hold it there or a light tap...they get the idea it's you and not food ....they were all fine once out of the cage....

good luck
-----
........JY