system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: What does the 'end task' command do differently than normally exiting out of a program?
gpt
There are three main ways to stop a program.  

You can quit from inside the program. The program does whatever it's programmed to do when you click quit, saving data and closing files and such normally.

You can use End Task (on windows), this is the operating system sending a signal to the program that tells the program "Time to quit, finish what you're doing and then exit.".  The program (hopefully) responds to the signal, finishes up what it's doing, saves data and such, then quits.

You can use End Process (also Windows).  Windows just ends the program, and frees up any memory associated with it.  There's no communication with the program.

In terms of the other guy's restaurant metaphor:  Quitting is finishing your meal then paying up and leaving, end task is being told to pack your shit and leave, and end process is being thrown out.