Well strictly speaking you can't "shut down" a steam loco... You would have to drop the fire over an ash pit, then when the engine is required next rebuild and relight it taking several hours. So an idle loco will consume fuel in order to maintain boiler temperature.