You may try these commands on the master computer’s shell, under the Linux account that runs CryoSPARC services:
cryosparcm icli # access the CryoSPARC interactive cli console
db.jobs.update_one({'uid': 'J14', 'project_uid': 'P2'}, {'$set': {'status': 'failed'}})
db.projects.update_one({'uid': 'P2'}, {'$set': {'deleted': True}})
exit
[edited: command corrected]
[edited 2023-06-21: update_one
query modified]