I do not see anything like this with enabling or disabling the metronome. Its possible that you have the same issue that the OP had with a faulty cable or controller. To date I have never seen a spurious disconnect message from the UFX under USB and win8 so there isn't much more I can do to assist.
Keep in mind that Windows sends these messages after it unloads or reloads the device driver and there can be a brief delay before SONAR notices this message and pops the prompt. So the actual disconnect might have occured before the most recent operation.
Again I have to reiterate that SONAR itself does not disconnect the device explicitly. Accoring to RME the only ASIO operation that can cause the driver to unload and reload as a side effect is changing the sample rate. Although I do not see disconnection messages come through in this case, so either the driver doesn't unload always or the message is masked by windows somehow.