I believe my tractors temp gauge is a direct read gauge. Not connected to the electrical system.
When you turn off the key it still reads the temp of the coolant at that time and slowly cools down.
Does your temp cable look like a heavy wire mesh. From gauge to the sending unit which is located up by the thermostat.
Some part of yours is hooked to the electrical system or it would not move when switch is cut off.