Yes, "the cat got her tongue" is a metaphor.
Why
- Literal meaning: A cat cannot literally take someone's tongue.
- Figurative meaning: The phrase means someone is unusually quiet or unwilling to speak, often due to shyness, embarrassment, or not knowing what to say.
The image of a cat stealing a tongue expresses the idea of being speechless.