Why would the phone listen for commands while it's playing music? My iPhone doesn't do it, at least. Seems much more reasonable to me.
I have an alarm that plays a song. I don’t want to listen to the whole song every morning so I stop it once I’m up and going. This is through Alexa though and Alexa repeats the song until you stop it.
I used to rely on getting out of bed to switch it off manually but over time found I didn’t need to do it.