I'm usually OCD about it, it's only happened once. I was grinding in LeafGreen to fill out some of the Dex. I went to the Pokecenter, healed-up and just turned it off.