Crossword Genius

Unable perhaps to wriggle out of medical department getting rebuked (9)

Ross

I believe the answer is:

entrapped

I'm a little stuck... Click here to teach me more about this clue!

'unable perhaps to wriggle out' is the definition.
I can't tell whether this definition defines the answer.

'medical department getting rebuked' is the wordplay.
'medical department' becomes 'ENT' (abbreviation for Ear, Nose and Throat department).
'getting' means one lot of letters go next to another.
'rebuked' becomes 'rapped'.
'ent'+'rapped'='ENTRAPPED'

'of' acts as a link.

Can you help me to learn more?

(Other definitions for entrapped that I've seen before include "Snared" , "unable to find a way out" , "Maybe framed" , "Caught in a snare" .)

I've seen this clue in The Times.
Want a hint initially instead of a full solution? Install my app