If your iPhone won't turn off the usual way, you can force restart it with a button combination specific to your iPhone model.
The option to turn off shuffle in the iPhone's Music app is hidden away in a menu. Here's how to find that menu in the app ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results