Most definitely, you tried your best!
Sometimes I get stuck in the mindset of, "Gotta work out for X minutes or I'm a complete failure" and end up feeling so pressured or discouraged that I give up completely because what's the point if I don't hit my goals? I don't find that kind of thinking to be very helpful though. Any exercise is better than none and being gentle with yourself, especially when you're not feeling your best, is important.
Take it easy and feel better soon, Victoriann.