Hmm, this is a tough one because your Agent polls outwardly to the Cloud API and can exist anywhere with the Hybrid Execution Model. You can certainly delete the Agent through the Cloud tenant (of course this wouldn’t stop the running process), but Prefect can’t reach into the machine where your Agent lives to interrupt/kill the polling with an API call.
There could be a CLI command to add here, so I’ll take that back to the team. Thanks for the feedback!