Every device has different way to turn off safe mode. By keeping this thing in mind I decided to share all the possible ways that help you to get rid of this problem: 1. Simpley reboot your device 2. Take battery out of your device 3. Reboot and Press the Back Key 4. Factory reset your device 5. Download Stock ROM and Flash using ODIN For more detailed information you can check out this guide on how to turn off safe mode on galaxy s3
Why don't you try this on your device: 1. Press the Back Key while rebooting your device 2. First of all turn off your Samsung Galaxy S3. 3. After that turn on the device. When you see the boot animation logo start pressing the back key which is at right side of the device. Keep pressing untill your device successfully boot. I hope this trick work for your Samsung Galaxy S3 too. In case this tip didn't work for you. You can check this tutorial for more tips: https://www.whatswithtech.com/how-to-remove-exit-safe-mode-samsung-galaxy-s3/