When I was a kid, friends had a parrot that could mimic the whistle they used to call the dog.
It would whistle up the dog, which would come running, and then tell it "Down...Lie down!" and Spot would slink down and lie there till someone rescued it.
Birdbrain...