After an encounter (of some other encounter tag type) is triggered, but before it begins, the option to avoid it is offered.
Encounters
The first Optional Encounters video game was released on March 19, 2013.