If I'm just cleaning out the bobbin area, I don't turn the machine off. But if I were going to do something more in depth (like pulling off the top to oil deeper in the machine), I turn it off.
But it is very interesting to read what different people do!