I am very new to QGIS and I have been doing tutorials to try and learn the software.

I can't close QGIS now. It says I have two active tasks running. I see the one task as "calculating field". When I try to close QGIS I get this pop up and when I hit yes it still wont close.

Error message

  • What happens when you press "NO"? Commented Feb 21, 2019 at 7:51
  • 2
    I just use task manager to kill the process when this happens.
    – MrXsquared
    Commented Feb 21, 2019 at 8:52
  • Looks like a mac (no task manager > /Applications/Utilities/ activity monitor)
    – Mapperz
    Commented Feb 21, 2019 at 18:19

2 Answers 2


Open the task manager by hitting Ctrl-Alt-Del on a PC or Command-Option-Esc on a Mac. Force quit the program.

If you want you can make a bug report: https://issues.qgis.org


It's worth looking at the bottom-left side of the screen. (This assumes QGIS3)

If you set the algorithm to run in the background, you'll be able to cancel it there by clicking on the progress bar. See this tweet which includes a screencast showing how to do this.

If it's a SAGA or GRASS algorithm, these may only be able to be cancelled from the processing dialog. In some cases they check regularly to see if they've been cancelled, in some cases not at all. So a cancel may not work, or may take some time - sometimes you just need to wait!

I wouldn't advise a Force Quit on QGIS itself as you may lose work. The good news is that you can usually kill off the long-running SAGA/GRASS process using Activity Monitor. These tasks typically max out 1 cpu, so searching under 'energy' usually lists them first.

QGIS will (usually) handle an algorithm being stopped quite happily.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.