If your iPhone won't turn off the usual way, you can force restart it with a button combination specific to your iPhone model.
You can turn off the voice control feature using two different methods, depending on which iPhone model you have. Here's how ...