If your external display isn't working and you have an Apple adaptor, try the following: For a few seconds, unplug your adaptor.
If that doesn't work, please restart your Mac in safe mode and then restore the screen size to its factory settings. Another approach is to clear the NVRAM and SMC on the Mac.