yeah, the mercury will bead up on the bottom and can easily be removed, plus it isn't water soluble, so no worries.
Now if the fish eat the mercury....
and where did you get a thermometer with mercury in it for your fish tank??
they haven't used mercury in thermometers for at least a couple decades.
was it silver or red liquid?
if silver- mercury
red-alcohol