Sentence:  I again conveyed his key into his pocket, and <WSD>counterfeiting</WSD> sleep—though I never once closed my eyes, lay in bed till after he arose and went to prayers—an exercise to which I had long been unaccustomed. 
Meaning of the word marked with <WSD> tags:  To feign; to mimic.