In the process of upgrading from Utopic Unicorn to Vivid Vervet, do-release-upgrade asked me which version of a configuration file to keep. I chose the option to run a (root) shell, noticed there were only a few small changes, and ran vim to merge the two versions. I'm used to using Ctrl+C to finish inserts, but it seems that in this case that actually killed something, as I was returned to one of my own shells.
After a bit of investigation, I noticed that the vim instance was somehow still running. I killed it and was returned to the root shell I'd started it from. I then exited the root shell, expecting to be returned to the upgrade script, but instead, the tmux instance I ran it in exited.
At this point, I can see that the script is still running and presumably doing something (it seems to consistently have 11% CPU usage). Unlike some cases similar to mine, there is no screen or byobu instance to reattach to—in fact, according to ps, it's lost its controlling terminal.
What happened here, and what should I do return my system to a sane state and complete the upgrade?