
With your tail between your legs
Visual Imagery
The phrase paints a picture of a defeated dog, which can help you remember its meaning. 
Figuratively Speaking
It's a metaphorical expression; no actual tail is involved. 
Not Literal
Don't use this phrase to describe physical movement; it's about feelings of shame or failure. 