Down for the count

Meaning: Temporarily unable to continue, often because of illness, exhaustion or defeat.

Example: After working all night, I was down for the count by lunchtime.