With this simple menubar app you can make your Mac stay awake in one click. Just click the eye icon in the menubar and now your Mac won't go into the sleep mode. The icon will change to open eye:
By default it will stay in the Awake mode until you manually turn it off. However, you can right-click the menubar icon and choose a time interval to turn the Awake mode off automatically.