Sentence:  He hurried across to the courthouse and caught the sheriff just as he was <WSD>leaving</WSD> . 
Meaning of the word marked with <WSD> tags:  go away from a place