I installed Ubuntu 17.10.1 today on my laptop, and i Opened settings and moved the dock to the bottom, and the settings window just disappeared. The answer given in the following link don't help me to disable the second virtual monitor from the command line, and restored the settings window back to my normal laptop screen view:
disable second virtual monitor
so what i do?