I can think of twice. One time I got sick at school and when I was convulsing from puking, I also shit my pants, which I didn't realize until I went to a toilet and took off my pants and hey my underwear's all brown. Oops.
Once I was at work pissing at a urinal, and trusted a fart, and the fart let me down.