Obstacle for a would-be castle attacker (4)
I believe the answer is:
moat
(Other definitions for moat that I've seen before include "A deep water-filled ditch around a castle" , "Ditch dug to protect a castle" , "Water crossed via a drawbridge" , "Ditch round castle" , "Water-filled trench around a castle" .)