Why disconnect the o2 sensor
Not that I am an expert, but it really doesn't matter if you reset the AFV (local environment value- air temperature, moisture, up a mountain etc....) as after a few miles riding at a steady low revs it will reset itself as soon as the o2 sensor is reconnected. The reason why you disconnect the o2 sensor is called 'wideband' tuning as opposed to 'narrowband' tuning with o2 sensor connected. The difference is connected it makes realtime tuning faster and quicker realtime results, but when you reconnect the o2 sensor and take it for a run it will 'learn' what the local environment conditions are like. The main reason is if the ecm likes the wideband settings, your O2 sensor is buggered. Check for any faults or codes and clear them first before setting the AFV.
Buell X1 lightning 2001 (I got her back up and running as well!) & Santa Cruz Blur (too fat to ride)