Idiom
with your tail between legswith (your) tail between (your) legs
if you leave somewhere with your tail between your legs, you leave feeling ashamed and embarrassed because you have failed or made a mistake.The losing team walked off with their tails between their legs.