
Instead of “shakes the bars” the author might just as well have written “wracks his brains” – a more conventional image, though equally physical a description. But since the parrot lives in a cage, it seemed fitting that he should do some violence to that, instead of to himself.