You can simply exit the Epic Games launcher by clicking on the system tray icon in the bottom right corner and then click Exit.