Unplugging is obviously always a good idea, but once you know your way around the games it can be OK to have it plugged in especially if you’re trying to test.
Always always wear shoes so that you are not a path to ground. Be very careful when working with metal tools inside the game if it is powered on, so that you don’t create a short and start blowing fusesorgrt a good shock.