# REFCLOSE Command [GstarCAD 2015](../../Index.md) → [Commands](../%28Commands%29.md) → [R](%28R%29.md) Save or discard the changes made during in-place editing of a reference (an xref or a block). Command Access: > **Toolbar:** Refedit > > **Menu:** Tools \> Xref and Block In-Place Editing \> Close Reference > > **Command entry:** REFCLOSE Command Prompts: > Enter option \[Save(S)/Discard reference changes(D)\]\<Current\>: *Enter an option or press* ENTER > > **Save :** Save all changes made to objects in the working sets back to the xref source drawing or to the block definition in the current drawing. When you remove an object from the working set and save changes, the object will be deleted from the reference and added to the current drawing. When you edit and save the xref in a drawing, REFCLOSE command is not available unless you open and save the drawing again or the xref is checked by REFEDIT command. > > **Discard Reference Changes :** Discard the working set and the source drawing or block definition is returned to its original state. But the changes made to objects in the current drawing (not in the xref or block) will not be discarded. If you remove any objects not in the working set, the objects will not be restored even if you choose to discard changes. ## Other versions with matching text [GstarCAD 8 (2013–2014)](../../../2013/Commands/R/REFCLOSE%20Command--9461c55054be.md)