Hello,
To click exit on what?
The program MyRobotLab, I guess.
Normally the x on the right top corner of the window.
If that doesn’t work, the program has encountered a issue.
If that is the case, you need to force the program “Java” to close via the Task Manager of Windows system.