Save the document, bring the hidden dialog box to the foreground with Alt+Tab, and close or answer that dialog before closing Word.
Close the hidden dialog
- Press Ctrl+S to save the document.
- Hold Alt and repeatedly press Tab to cycle through every open window. Select any Word message, Print, Save As, or other small dialog window that appears. Windows also supports Windows key+Tab for viewing all open windows.^1^
- In the dialog:
- Select the required option and click OK, Cancel, Yes, or No.
- If the dialog is not fully visible, press Esc to cancel it or Enter to activate its default button.
- Try closing Word again.
A dialog can be hidden behind the main Word window, leaving Word unable to close until that dialog is handled.^2^
If Word remains stuck
After confirming the document is saved:
- Press Ctrl+Shift+Esc to open Task Manager.
- Select Microsoft Word.
- Select End task.
- Reopen Word and check the recovered document if prompted.
End task discards any changes that have not been saved. Microsoft documents this as the way to close an Office application blocked by a message box.^3^
If the message returns
Test whether a Word add-in is creating the blocked dialog:
- Close Word.
- Press Windows key+R.
- Enter:
winword /safe
- Open a document, save it, and close Word.
If Word closes normally in Safe Mode:
- Go to File > Options > Add-Ins.
- At the bottom, select COM Add-ins under Manage, then select Go.
- Clear one add-in, select OK, and restart Word normally.
- Repeat until the problem stops; leave the affected add-in disabled or obtain an updated version.
Safe Mode prevents additional features and programs from loading, which helps identify an add-in or extension problem.^4^
If Word also fails in Safe Mode, repair Microsoft 365:
- Windows 11: Right-click Start > Installed apps > Microsoft 365 > three dots > Modify.
- Windows 10: Right-click Start > Apps and Features > Microsoft 365 > Modify.
- Choose Online Repair > Repair, then restart Windows when completed. Online Repair repairs the entire Office suite, including Word, Excel, and PowerPoint.^5^
References
- How to Multitask in Windows | Microsoft Support
- Word cannot be opened - Microsoft Q&A
- Why am I getting the message "Contacting the server for information"? | Microsoft Support
- Open Office apps in safe mode on a Windows PC | Microsoft Support
- Repair an Office application | Microsoft Support