You can increase the amount of alertness in your system and remain awake in the middle of the night, by drinking a little bit more water than you normally would and then refraining from going to the restroom, that certainly will lend itself to alertness.