Can't quit at this time

You can't quit Windows while Visual Basic is in run or break mode.  You also can't quit Windows while a dialog box or message box is displayed.