In a word, 'way out' (4)
I believe the answer is:
exit
'way out' is the definition.
(synonyms)
I cannot understand how the rest of the clue works.
Can you help me to learn more?
(Other definitions for exit that I've seen before include "Leave the building" , "Actor's departure" , "farewell!" , "Act of going out" , "Way out sign" .)