I'm just wondering if anyone has ever had a program that running in the background crash on you, yet the task manager still shows that process as still running?

How would I detect something like that happening in command prompt (if it's possible)? Is there some sort of program available to detect processes that are running, but not actually running?

PS: I'm running the program in Windows.