On Windows 10 and above, when you press the left corner of the title bar, it activates the "Close" button. This button is used to close the application window. When you click on it, the application is terminated and closed.
This is the default behavior of Windows 10 and above, and it is designed to provide users with a convenient way to close an application. However, if you accidentally click on the "Close" button or the left corner of the title bar, it can cause your application to close unexpectedly.
To avoid accidentally closing your application, you can move your mouse to the middle or right corner of the title bar before clicking on it. Alternatively, you can use the Alt + F4 keyboard shortcut to close the application, which will prompt you to confirm that you want to close the application before it terminates.