bin/magento module:disable <module name> && bin/magento setup:upgrade
You can look for the module’s name in the etc/module.xml
, e.g.:
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../lib/internal/Magento/Framework/Module/etc/module.xsd">
<module name="Aheadworks_Giftcard" setup_version="1.0.4" />
</config>
You can re-enable a module by the command:
bin/magento module:enable <module name> && bin/magento setup:upgrade