Stop a running operation by op id.
Section: Admin and status
Kill an operation
javascript
javascript
db.killOp(12345)Explanation
Use carefully after confirming the operation is safe to terminate.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Admin and status