Hierarchical Operations: Flatten Instances, Make Cell From Selection, Move Up In Hierarchy

Klayout provides several operations that move shapes or instances up and down in hierarchy. All these operations are accessible through the "Edit" menu in the "Selection" sub-menu.