Does the UV lamp need to be switched off?

Yes, the UVC lamp must be permanently switched off or removed, as otherwise the water-purifying microorganisms will be killed and the ecological balance permanently disrupted.