alt f4 lol
adding it in unity is literally 1 line of code:
public void Quit() { Application.Quit(); }
if you add that in a script conected to the ui canvas thingy and then select the Quit function as the button onclick function, now you have a quit button