A blackout ends when your body has absorbed the alcohol you consumed and your brain is able to make memories again. Sleep often helps this process along. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.