Once I realized that there was nothing to do to change the situation, that it was totally out of my control, it simply became another opportunity to practice. I lay in the bed, awake earlier than I wanted to be, and listened to the beep, beep, beep. My practice was attending both to the sound and to the way the mind and body were relating to the sound, especially noticing when there was resistance to it. Resistance when the body was not relaxed but was tight and contracted. Resistance when the mind would get agitated at the sound. And then, when there was awareness of resistance, either in body or mind, letting it go. Letting go of the resistance to what was and letting the sound just be.
As I let go of the resistance again and again, mind and body relaxed. And sleep returned.
It wasn't my intention to relax so that I could fall back to sleep. It was simply the paradox that being awake, being present to the beeping sound, brought sleep.