change sides vs walk out on

change sides

verb
  • to change one's loyalty from one team or group to an opposing one 

walk out on

verb
  • To abandon or desert someone, especially a spouse. 

How often have the words change sides and walk out on occurred in a corpus of books? (source: Google Ngram Viewer )