If the src attribute is modified from "file.ogg" to "" the file shall be unloaded. Actually this has no effect on Webkit based browser. On Firefox and Opera settin src to nothings work, the sound is stopped and the file unloaded.
*** This bug has been marked as a duplicate of bug 47907 ***