up a tree

Prepositional phrase

 * 1)  In or into a disadvantaged or difficult situation; at a loss; cornered.