What type of Cham is it? My veiled does the same thing but its basically a "BLUFF"... Once outside the cage he will calm down and let you handle him.
Just be careful with him and if you need to get a glove or a peice of cloth and put it over ur hand to get him out the cage.
Hope this helps.