This expression is used to describe the successful conclusion of a difficult search for something or someone or to get to the bottom of a matter. Wordwizard explains the idiom is “. . .from hunting, especially fox hunting.” The fox has been chased and cornered in the den.