What is causing a program to remain in memory?
There can be a lot of causes. But you can forcibly close it using Windows' Task Manager, and terminating the related process.