Sentence:  But in bed he had trouble <WSD>sleeping</WSD> . 
Meaning of the word marked with <WSD> tags:  be asleep