No, no data is stored in the local cache because you are connecting to a server and the terminal doesn't have local cache. However, the application might store the commands issued in a temporary file that's deleted as soon as you close the application.