DESELECT primary command
In advanced SELECT prototyping, if you enter the DESELECT primary command and the cursor is not currently placed on an element in the currently displayed fragment, the currently displayed fragment and its dependent fragments are removed from the syntax, and control returns to the parent of the currently displayed fragment. If the currently displayed fragment is the top fragment, this has the same effect as CANCEL or END.
If you enter the DESELECT primary command with the cursor placed on a fragment field in the currently displayed fragment, the selected fragment and its dependent fragments are removed from the syntax, and control remains in the currently displayed fragment.
If the deselected fragment is the last selected (or only) item in a repeat instance, the entire instance is deleted.