Force unload a plugin created with PluginManager

I’m in the process of creating a plugin that has functionality to sandbox other plugins which I’m achieving through getfenv().PluginManager():CreatePlugin() but I am unable to force the created plugin to unload itself. The current implementation wraps the plugin that was created with a wrapper class that cleans up most of the plugins created objects when the plugin Instance gets destroyed. The issue with this implementation is that its difficult to remove many of the resources that the plugin created such as PluginActions or Events that have been connected through the plugin. So if possible I need a way to force the plugin Instance to clean up itself. If anyone knows how to do this please let me know!