xxxxxxxxxx
Click the stop button in the toolbar, or press the escape key.
xxxxxxxxxx
To exit play mode in Unity, you can either click the "Stop" button in the top toolbar, or press the "Escape" key on your keyboard. This will stop the game simulation and return you to the editor.