Sentence:  Before <WSD>leaving</WSD> , he took one last , lingering look at the apartment . 
Meaning of the word marked with <WSD> tags:  move out of or depart from