Go off when there's a chance of an end during the war (6)
I believe the answer is:
wander
'go off' is the definition.
(I've seen this in another clue)
'of an end during the war' is the wordplay.
'of' indicates an anagram (the answer comes from or 'of' the letters).
'during' is an insertion indicator.
'end' is an anagram of 'nde'.
'nde' put into 'war' is 'WANDER'.
'when there's a chance' is the link.
I am not very happy about this link. Some or all of it may belong to another bit of the clue.
Can you help me to learn more?
(Other definitions for wander that I've seen before include "Stroll" , "Go astray" , "go wrong" , "Roam around aimlessly" , "endless travel" .)