Sentence:  During his absence the queen fell ill, and after <WSD>lingering</WSD> for some time she died. 
Meaning of the word marked with <WSD> tags:  To remain alive or existent although still proceeding toward death or extinction; to die gradually.