src/Module/ModuleManager.php
public function offsetUnset($module)
    {
        $module = Inflector::camelize($module);

        if (isset($this->loadedModules[$module])) {
            unset($this->loadedModules[$module]);
        }
    }
public function offsetUnset($module)
    {
        $module = Inflector::camelize($module);

        if (isset($this->loadedModules[$module])) {
            unset($this->loadedModules[$module]);
        }
    }
Unload a Module, this is basically the same as unload().

@param string $module The module to unlod.

@return void