When something or somebody has an accident or breaks something or breaks down mentally and/or physically.
Jim has finally shit the diff and is in hospital in recovery