Hi.
Does Alt+F4 work?
Please refer to this document: https://stackoverflow.com/questions/4589790/when-i-close-my-application-my-program-is-still-in-task-manager
Hope the information is helpful.
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.