Draw everything off the window

Is there a way to draw everything off-screen without doing it individually? When debugging my code, I often abort a routine, and some objects stay on the window. I can’t manually draw them off because they were created within a function somewhere in the script. Is there a way to draw off everything that’s currently on screen? Or to get a list of the elements on screen? I’m trying to avoid closing and opening a new window, or rerunning the entire script.