To ensure that your AppleTV remains awake until you manually put it to sleep, go to:
 
Settings GeneralSleep After
Change the delay from One Hour to 5 Hours, 10 Hours or Never