How to force the unistallation of a Cordova plugin?

Hi,
I’d like to uninstall this plugin

>cordova plugin list
cordova-plugin-background-geolocation 3.1.0 "CDVBackgroundGeolocation"

but if I run the command (on Windows):

ionic cordova plugin rm  cordova-plugin-background-geolocation

I have the error:

> cordova.cmd plugin remove cordova-plugin-background-geolocation
Uninstalling cordova-plugin-background-geolocation from android
config file res/xml/authenticator.xml requested for changes not found at C:\...\platforms\android\app\src\main\res\xml\authenticator.xml, ignoring
config file res/xml/syncadapter.xml requested for changes not found at C:\....\platforms\android\app\src\main\res\xml\syncadapter.xml, ignoring
Subproject Path: CordovaLib
Subproject Path: app
Uninstalling cordova-plugin-background-geolocation from ios
Unhandled error. (The platform "ios" does not appear to be a valid cordova platform. It is missing API.js. ios not supported.)
Unable to load PlatformApi from platform. Error: Cannot find module 'C:\,,,,\platforms\ios\cordova\Api.js'

Because of this error the plugin still exists on Android too:

>cordova plugin list
cordova-plugin-background-geolocation 3.1.0 "CDVBackgroundGeolocation"

So, is there any way to force the uninstallation?

Thank you very much

cld

cordova appears to have a --save option just like npm does.

Thank you for your answer.
I run

ionic cordova plugin rm  cordova-plugin-background-geolocation --save

but the error was the same. So I deleted the folder platforms/ios from my Windows installation,
And running the same command I got:

>ionic cordova plugin rm  cordova-plugin-background-geolocation --save
> cordova.cmd plugin remove cordova-plugin-background-geolocation
Uninstalling cordova-plugin-background-geolocation from android
config file res/xml/authenticator.xml requested for changes not found at C:\..\platforms\android\app\src\main\res\xml\authenticator.xml, ignoring
config file res/xml/syncadapter.xml requested for changes not found at C:\...\platforms\android\app\src\main\res\xml\syncadapter.xml, ignoring
Subproject Path: CordovaLib
Subproject Path: app
Removing "cordova-plugin-background-geolocation"
Removing cordova-plugin-background-geolocation from package.json

With no errors.
Now the plugin has gone.
I will do something similar to remove it from ios, on the MacBook.

cld