forbid vs shut out

forbid

verb
  • To deny, exclude from, or warn off, by express command. 

  • To oppose, hinder, or prevent, as if by an effectual command. 

  • To disallow; to proscribe. 

shut out

verb
  • To prevent from entering; to block or exclude. 

  • To prevent from scoring; to perform a shutout. 

  • To hide from sight. 

  • To refuse to be open and vulnerable toward. 

How often have the words forbid and shut out occurred in a corpus of books? (source: Google Ngram Viewer )