Restart the computer while starting the game

Please help the game I run the game the launcher appears click Play the blue bar is loaded and then the computer restarting before the login window appears.