Custom Editor Broken

Can someone help me remove this Editor Window that is stuck, thank you.

If it is stuck, it likely means there is some sort of infinite loop, or method that is causing it to freeze.

Remove code until it becomes responsive and draggable.

For example: I had a property reference in another class where if the value was requested, and the associated private field was any empty list, it would call the logic to set that value. However, I forgot that there was a situation where the value would empty, and should be empty. Since the editor window OnGUI is called constantly, this value would always be an empty list, and the logic to set the list value would continuously be hit. Since that logic was somewhat involved, the editor window was essentially stuck performing constant non-performant logic, and the window became entirely non-interactive. It is likely a similar situation, where you have code called that requires several milliseconds to complete, and your OnGUI is firing and launching that code again, before the previous call was even finished.

To have it automatically dock when opened, such as next to the Inspector on the right, do this:

[MenuItem("Something/My Custom Window")]
public static void ShowWindow() {

     // Dock next to internalclass, Inspectorwindow.
     var editorAsm = typeof(Editor).Assembly;
     var inspWndType = editorAsm.GetType("UnityEditor.InspectorWindow");
     EditorWindow.GetWindow<MYCUSTOMWINDOWCLASS>("MY CUSTOM WINDOW TITLE" , true, inspWndType);

}