поджать хвост в энциклопедиях
прям. и перен. to have one's tail between one's legs; to come down a peg разг.