Move your Capacitor plugin from version 5 to 6.
Recent revisions are kept. Restoring one creates a new revision.