To foul one's clothing with excrement.
shit oneself
To be terrified or stunned so badly that one's bowel control is at risk.
To quit functioning or break down.
Some definitions on this page are adapted from Wiktionary, used under CC BY-SA 4.0. Credits.