how to stop playing a sound through script unity code example
Example: stop sound in unity
audioSource.Play();//Start playing
audioSource.Stop();//Stop playing
audioSource.Play();//Start playing
audioSource.Stop();//Stop playing