I have had birds take over a month to fully recover from surviing a dog attack (not physically but get back to laying and acting the same).
I would just give it time, this would be a perfect time to bond with the bird, if you want it to act more like a pet.