My car finally 'gave up the ghost'. What is the meaning of underlined idiom?

My car finally 'gave up the ghost'. What is the meaning of underlined idiom? Correct Answer to stop working

GIVE UP THE GHOST (phrase): stop trying to do something; car or machine: stop working completely; die.
Bissoy MCQ

Related Questions

"The old man gave up the ghost ." means he: