If a "snd_stop (music_handle);" (without the quotes) typed at the console doesn't stop the music, you have an error somewhere else (not in the music-related code)