I get that quite often.
It can be 3 in the morning, and I’m not tired at all.
I usually try and read, or take deep breaths and hope I slip back off to sleep.
Sometimes it can be nice to get up, get a cold cup of water or some tea, and go back to bed. That sometimes works for me. :)