If you want to undo Remove display from desktop, you can follow these instructions:
Plug into another display.
Right-click on the desktop and select Display settings.
Next, select Advanced display settings.
Select the display you turned off in the Select a display to view or change the settings for it drop-down menu.
Now turn off the Remove display from desktop toggle switch.