Having cheated ran away but did, somehow, get caught (7)
I believe the answer is:
fiddled
'having cheated ran away' is the definition.
I can't judge whether this definition defines the answer.
'did somehow get caught' is the wordplay.
'somehow' is an anagram indicator.
'get' means one lot of letters goes inside another.
'caught' becomes 'fled' (I am not sure about this - if you are sure you should give a lot more credence to this answer).
'did' anagrammed gives 'idd'.
'idd' going within 'fled' is 'FIDDLED'.
'but' is the link.
Can you help me to learn more?
(Other definitions for fiddled that I've seen before include "cheated" , "What Nero did while Rome burned" , "wasted time" , "Was corrupt" .)