Prevent your Mac from entering sleep mode. Specify sleep and wake settings.
Check out these Sleep Control Apps:
Lungo also prevents your Mac from going to sleep. It has a retina icon and dark mode support. Just click the menu bar icon to quickly activate the app.
Caffeine prevents your Mac from automatically going to sleep, dimming the screen or starting screen savers. Click it again to go back.
Theine keeps your Mac awake just like caffeine does with you. It prevents your Mac from falling asleep, dimming your screen or starting the screensaver.