detach vs undo

detach

verb
  • To come off something. 

  • To take apart from; to take off. 

  • To separate for a special object or use. 

undo

verb
  • To unfasten. 

  • To reverse the effects of an action. 

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

noun
  • An operation that reverses a previous action. 

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