Extension Installer/Triggers/onBeforeExtensionUninstall
From Joomla! Documentation
< Extension Installer | Triggers
The onBeforeExtensionUninstall trigger occurs after the installation of an extension. It has a single parameter:
- eid
The extension ID of the extension being removed