cocoon vs keep in solitude

cocoon

noun
  • The silky protective case spun by the larvae of some insects in which they metamorphose, the pupa. 

  • Any similar protective case, whether real or metaphorical. 

verb
  • To envelop in a protective case. 

  • To withdraw into such a case. 

keep in solitude

How often have the words cocoon and keep in solitude occurred in a corpus of books? (source: Google Ngram Viewer )