there's no temp swing we could impart to live rock inside a home to kill off the bac, even if the circulation stopped. as long as they're wet, the bac w remain that sets the stage for flexible holdings. its true worms would like to maintain conditions/aeration as much as possible.
in our sandbed rinse thread we discussed how the surfaces of the grains are like mini grand canyons at the microscopic level and there's too much surface area to wash any but an incidental layer off the grains. Soaked in bleach water for three hours/now that's clean. but as a rinse, nope, not even with tapwater. I routinely take my whole tank apart a couple times a year and tap water rinse out the bed 100% cloudless, then fully reassemble it all after a quick sw rinse on the bed. if such a cleaning removes a couple worms from the sb, they'll come back. they seed off the live rock over and over ad infinitum, I still have worms in the bed after all the cleanings.
Those worms weren't doing much for the tank anway, tanks that use sand in the display tank often have very high concentrations of half degraded proteins/some nitrite packed in/other nutrients so cleaning them is a life extender, as long as its thorough.