If an Analytics Edge connector license expires, trying to run a query that uses it will result in an error. You must either remove any queries that use it or buy a license.
To uninstall a connector, open the License wizard and click on the entry for the connector. Click the uninstall link at the bottom.
Note: if you have upgraded the connector since first installed, you may be asked if you want to remove old releases as well.