羝羊触藩

dī yáng chù fān

lit. billy goat's horns caught in the fence (idiom from Book of Changes 易經|易经); impossible to advance or to retreat

without any way out of a dilemma; trapped; in an impossible situation

billy goat

yáng

sheep; goat

chù

to touch

fān

fence; hedge