I had a problem like that after a shot for i forget what. Mightve been a vaccine of some kind. For like 7 hours i could sit still let alone sleep. If i sat down i had to get up and walk around. I was on the verge of punching the walls when i just forced myslef to sit still and after a long time it worked. Horrible night.