If you have a laptop and a monitor that goes off when you close your laptop, there are a few things you can do to fix the problem.
First, try closing the laptop lid all the way and then opening it again. This sometimes resets the connection between the laptop and the monitor. If that doesn’t work, try unplugging the monitor from the laptop and then plugging it back in. Make sure the monitor is plugged into the correct port on the laptop. If you’re still having trouble, try restarting both the laptop and the monitor.
If none of these things work, the problem may be with the drivers for your graphics card. Try updating the drivers and see if that fixes the problem. If you’re still having trouble, you may need to contact the manufacturer of your laptop or monitor for further assistance.