Only worked out for 15 mins

I couldn’t do anymore and I feel bad about it. Feel like my workout wasn’t good enough. I hardly broke a sweat. I’ve been sick for the past week and a half and haven’t been able to workout. But I can usually do 30 to 40 mins. Just feeling down on myself.