sortir par la petite porte
Meanings
Verb
1. to leave with one's tail between one's legs (defeated; in a cowardly or miserable manner) (figuratively)