code: def stop_service(self, instance, service):
          
          req = rest_pb2.EditServiceRequest()
          req.state = 'stopped'
          url = '/services/{}/{}'.format(instance, service)
          self.patch_proto(url, data=req.SerializeToString())
docs: Stops a single service.
  
          :param str instance: A Yamcs instance name.
          :param str service: The name of the service.