code: func (pm *Manager) Shutdown() {
  	plugins := pm.config.Store.GetAll()
  	for _, p := range plugins {
  		pm.mu.RLock()
  		c := pm.cMap[p]
  		pm.mu.RUnlock()
  
  		if pm.config.LiveRestoreEnabled && p.IsEnabled() {
  			logrus.Debug("Plugin active when liveRestore is set, skipping shutdown")
  			continue
  		}
  		if pm.executor != nil && p.IsEnabled() {
  			c.restart = false
  			shutdownPlugin(p, c.exitChan, pm.executor)
  		}
  	}
  	if err := mount.RecursiveUnmount(pm.config.Root); err != nil {
  		logrus.WithError(err).Warn("error cleaning up plugin mounts")
  	}
  }
docs: // Shutdown stops all plugins and called during daemon shutdown.