MATLAB Programming/Psychtoolbox/Screen Commands/CloseScreen

Usage:

Screen(windowPtr,'Close')

Close any of SCREEN's windows (on- or offscreen). Closing an on-screen window takes about a second. After closing the last on-screen window the cursor is made visible.