The close windows statement closes all standard windows and palettes.
close windows
• None
This command doesn’t close tool bar windows or any windows in the form from which the command was run. If the abort close statement is run for any window, no further windows will be closed and the script that ran the close windows statement will stop.