code: function (apporplugin) {
      try {
        configHelpers.disable(apporplugin);
        logger.info(apporplugin + ' disabled');
      } catch (err) {
        logger.error(
          'Cannot disable given app or plugin, ' +
          apporplugin +
          ' cannot find it in the config file.');
        logger.raw(err);
      }
    }
docs: Mark given app or plugin as disabled. It won't be activated or started
  in that case.