No, you don't have to restart.
1) If Firefox is open, quit Firefox.
2) Remove the Firefox icon from the Dock. (drag it off the Dock to remove it)
3) Do the steps in the images above.
Now, when you open Firefox, you won't be opening the copy of Firefox inside the Volume, so the Volume won't mount.