Clearing trouble codes

you can do it while pulling codes (IIRC, something like disconnecting the connectors while scanning - check the repair manual or scantool directions).

or disconnect the battery for a period.

good luck.