code: def stop_capture(self):
          
          if self._capture_node:
              yield from self._capture_node["node"].post("/adapters/{adapter_number}/ports/{port_number}/stop_capture".format(adapter_number=self._capture_node["adapter_number"], port_number=self._capture_node["port_number"]))
              self._capture_node = None
          yield from super().stop_capture()
docs: Stop capture on a link