To use UnsetWidgetReference, you first need to load GUIKit using Needs["GUIKit`"].
UnsetWidgetReference is used to remove an associated string name with a given widget within the component registry of the current script or when used with a GUIObject.