While it is not necessary to turn off the UVB light at night, providing a dark period for the turtle to rest is recommended. This will help mimic the natural day and night cycle and prevent stress or anxiety.