give up the ghost
verb
-
To cease clinging to life; to die.
-
To cede a commitment to or identification with.
-
To quit; to cease functioning.
go kaput
How often have the words give up the ghost and go kaput occurred in a corpus of books? (source: Google Ngram Viewer )