If you double-click a Sub-Process's close box, or choose the CLOSE menu item, or minimize a Sub-Process the window will disappear and you will only see the icon that represents all the objects on its parent window.
To actually delete a Sub-Process (and return all its objects to the parent window) see: Removing a sub-simulation window.