Jelly Type Discharge

This morning I went to the bathroom first thing and noticed a huge glob on my panties - looked like very very thick opaque jelly, about 15cm long and pretty solid. I just stopped the pill two weeks ago and this is the first time I've ever seen something like this. I was reading that some pregnant women lose something called a mucus plug before they go into labour, and this sounds like exactly that. Any ideas?