I doubt that a restart deletes just and only the input history of one particular application esp. if that application is not even running. And even if it would be running, it would get the shutdown command from the OS.
Does your current problem have something to do with this?