Oh my, the poor thing....he is probably in a bit of pain and soreness for now. That can make any bird grouchy. I would watch him carefully for the next few days to make sure nothing is broken. If he is able to use it and stand on it for a bit, then he probably is ok, but he will be sore for a few days and favor it for sure. My amazon and grey both got their foot shut in our house door, and they were grouchy, wanted no one to touch them, so I allowed them their time and when they wanted to be with us or on our shoulder, we allowed them to decide when and for how long. It can take to a week for the soreness to completely go away. But certainly if you suspect anything serious, please ake gim to the vet asap. Once he is feeling better, he will allow you to touch him again, they are very forgiving...