Turning off a layout viewport does not delete the viewport or its contents it simply turns off its display. If necessary, you can turn a layout viewport on or off.
If you have created numerous layout viewports, your system performance may be affected.