Windows shared clipboard bug. Some other program was accessing the clipboard at the same time that Sigil attempted it. That is why Sigil itself did not close.
See:
https://forum.qt.io/topic/55491/auto...lected-text/10
near the end where they track the problem down to a VncViewer running at the same time.