Term: give up the ghost.
Example: i was late to work today because my car decided to give up the ghost.
Definition: to die, break, stall, or malfunction