From this article Use an SPFx Application Customizer to add JavaScript (e.g. header) to every page in a site
I can see you can enable a feature does one disable the feature. Not tried it yet but will this also actually remove the extension?
Thanks in Advance