code: def Pause(self):
      
      if not self.IsHuntStarted():
        return
  
      self._RemoveForemanRule()
  
      self.hunt_obj.Set(self.hunt_obj.Schema.STATE("PAUSED"))
      self.hunt_obj.Flush()
  
      self._CreateAuditEvent("HUNT_PAUSED")
docs: Pauses the hunt (removes Foreman rules, does not touch expiry time).