As is often the case, I learned something about English in the classroom today that I only knew intuitively. A few specific verbs, like stop, remember, and quit, change their meaning when followed by an infinitive versus a gerund. ‘Stopped to go’ and ‘stopped going’ have different meanings. In fact, that difference might even make the bathroom gerund example in the photo nonsensical.
