give up the ghost
verb
Meaning
To cease clinging to life; to die.
To quit; to cease functioning.
"My old computer finally gave up the ghost the other day."
(with of) To cede a commitment to or identification with.
Synonyms