Also, intact females display this more often. Put it in the dark. This may be contributing to the problem. I have yet to see any parrot continue to squawk when in complete darkness. They have nil for night vision.
Shotguns work too.
Naturally, it would be predator or prey. Depends on the reptile. Bearded dragons run and they look funny, but they arent good runners. Often not at all. There is no stress in being confined.