Quit is marginally better than Exit, I think; it at least can be read in the sense of "stop" rather than "leave".
(Of course that touches on another UI design rant, which is the casual and endemic inconsistency in deciding what should be the subject of command verb: with Exit, I'm exiting the program, but with Quit the program is quitting, at least if you choose to read it in that sense.)
I think people use 'Quit' with the human regarded as the active party, too, when talking about terminating programs, in practice. "Quit all programs before installing this update", "try quitting and restarting", etc.
(Of course that touches on another UI design rant, which is the casual and endemic inconsistency in deciding what should be the subject of command verb: with Exit, I'm exiting the program, but with Quit the program is quitting, at least if you choose to read it in that sense.)