code: def deactivate(name):
      
      if name in plugins:
          plugins[name].deactivate()
      else:
          raise Exception("plugin {} not found".format(name))
docs: Deactivate plugin.
  
      Parameters
      ----------
      name : str
          Plugin name.