reinit
This command returns GrADS to its initial state. It closes all open files, releases all defined variables, and resets all graphics settings to their defaults.
See the section of the User's Guide on reinitialization of GrADS.