Windows are deleted from the display with the command:
xdestroy name
where name is the window name. There are no command options.
Resetting the X server (i.e. by logging out) will also delete all windows and all window manager processes will exit.