Hi,
To bring it back to normal just press those same buttons you pressed and that should deactivate the extended display mode. If it doesn't work just connect an external monitor then press the Windows key + P at the same time then select Display Only and press Enter.