Material Preview window disappear

Reset the editor:

In the main editor window:

Window → Load layout → Default editor layout