bring to an end vs undo

bring to an end

verb
  • To cause to stop or complete. 

undo

verb
  • To impoverish or ruin, as in reputation; to cause the downfall of. 

  • To reverse the effects of an action. 

  • To unfasten. 

noun
  • An operation that reverses a previous action. 

How often have the words bring to an end and undo occurred in a corpus of books? (source: Google Ngram Viewer )