Hello Professor,
You probably just need to set up a way to close the game out. If you’re just testing the game and jumping in make sure you package in Debug or development. Then you can hit the " ` " key (Tilde key) to open console command prompt and just type “Exit” and hit enter.
If you package in Shipping or want a way to close the game from within the game, use a blueprint with the “ExecuteConsoleCommand” node. Again type “Exit” for the command and then hook that up to a key press event or however you wish to initiate the exit process.
-Max B.