@solaser123,
If I were sick for 3 hours, so sick that someone needed to closely care for me, and then I had homework, I wouldn't want anybody's company, either. I would want to, you know, do my homework and not fail my classes. Because getting an education is more important than assuaging a whiny, clingy boyfriend's ego.
Is that harsh? Sorry, but realistically, what the hell were you doing that she needed 3 hours of close care? Holding her head while she barfed? Cleaning the toilet after bouts of explosive diarrhea? Giving her an IV drip, or insulin shots? Applying a compression bandage?
You got 3 freakin' hours with her. Why is that not enough? She has homework. Let her do it. And let her have some time in her life that is not devoted to you. Because she is already resenting that you're not allowing her any space. Want to make that worse? Then keep clinging and pushing and complaining, and demand more than 3 hours from someone who's sick. And you'll see where that gets you.