pull the rug (out) from under vs shake (up)

pull the rug (out) from under

shake (up)

How often have the words pull the rug (out) from under and shake (up) occurred in a corpus of books? (source: Google Ngram Viewer )