put an end/stop to vs restrain

put an end/stop to

restrain

verb
  • To control or keep in check. 

  • To deprive of liberty. 

  • To strain again. 

  • To restrict or limit. 

How often have the words put an end/stop to and restrain occurred in a corpus of books? (source: Google Ngram Viewer )