Term: give up the ghost
Example: micah's birthday party is to be a surprise, but brian might give up the ghost
Definition: to die, but can be used in reference to inanimate objects, ie, to stop working