Yahweh continues to speak about Jerusalem as if the city were his unfaithful wife. The city represents the people who live there. (See: [[rc://en/ta/man/translate/figs-metaphor]] and [[rc://en/ta/man/translate/figs-metonymy]])
Here "shake" refers to a physical response that a person has when he is extremely angry. As Jerusalem was doing these things, she did not think about what Yahweh had done when she was young.
The idiom "bring ... on your own head" means that she will experience this punishment. See how you translated this idiom in [Ezekiel 11:21](../11/19.md). AT: "I will cause you to suffer the punishment for your conduct" (See: [[rc://en/ta/man/translate/figs-idiom]])