Sorry for the late reply.
You can replace the play sound location with a spawn sound at location so that you have a return node that can execute the stop function. The only problem is that when you try adding those return values to an array, for some reason the music doesn’t stop. You can test it out and see if you can make it work.
Also have you got the game to recognize when the player has died or do you need help with that as well?