Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
How do I terminate any script in QGIS python console window?
ctrl + c does not work
Try some of the other CTRL options that you can find in my answer to Stack Overflow question Stopping python using ctrl+c. There I also explain in depth why certain ones does not work, while others do.
Required, but never shown