cough and die verb (used of a computer program) to cease operating by virtue of a design feature US
The parser saw a control-A in its input where it was looking for a printable, so it coughed and died. — Eric S. Raymond, TheNewHacker’s Dictionary, p. 109, 1991