Hide the panel. This does not delete the object, it just makes the window on screen invisible.
curses.panel/panel.hide
panel.hide