code: def _command(self, args: argparse.Namespace):
      super()._command(args)
      run = self.api.runs.get(args.run_name)
      if run is None:
          raise CLIError(f"Run {args.run_name} not found")
      if args.yes or confirm_ask(
          "Are you sure you want to stop the run?"
      ):
          run.stop(abort=args.abort)
          print("Aborted" if args.abort else "Stopped")
  
file_path: dstack/src/dstack/_internal/cli/commands/stop.py
imports: import argparse
  from dstack._internal.cli.commands import APIBaseCommand
  from dstack._internal.cli.utils.common import confirm_ask
  from dstack._internal.core.errors import CLIError
label_desc: Use image node_id 2 for calling the StopCommand obj's underlying member method code with example usage: obj._command(args) without return types