Behaved, when one waved a stick at (9)
I believe the answer is:
conducted
'behaved' is the definition.
('conduct' can be a synonym of 'behave')
'one waved a stick at' is the wordplay.
I cannot really see how this works, but
'at' could be 'on' (location) and 'on' is found in the answer.
This may be the basis of the clue (or it may be nonsense).
'when' is the link.
Can you help me to learn more?
(Other definitions for conducted that I've seen before include "Directed, orchestra say" , "Led" , "Directed the course of" .)