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/jit/figs-metaphor]] and [[rc://en/ta/man/jit/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.