Yes, closing a file. I have opened multiple files (tabs), then I decide to close some by double clicking the tab, and that's the terminal. It happened on regular basis (many times a day).
-- <https://forum.pspad.com/read.php?4,76970,77234> PSPad freeware editor https://www.pspad.com