Crossword Genius

Dunderhead gets accused, but is released from custody (10)

Ross

I believe the answer is:

discharged

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

'is released from custody' is the definition.
I can't tell whether this definition defines the answer.

'dunderhead gets accused' is the wordplay.
'dunderhead' becomes 'd' (head letter of 'dunder').
'gets' becomes 'is' (I've seen this in other clues).
'accused' becomes 'charged' ('charge' can be a synonym of 'accuse').
'd'+'is'+'charged'='DISCHARGED'

'but' acts as a link.

Can you help me to learn more?

(Other definitions for discharged that I've seen before include "released" , "let off" , "Fired" .)

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