Sometimes you need to turn off the headlight - approaching a guarded army base, for example, or riding onto the Channel Tunnel.
I used to do it for a bit when my battery was sounding a bit flat - felt as if it was giving it chance to charge up a bit. Battery still died, so probably didn't do any good.