Box of spanners

To totally lose all ability to pedal smoothly after overexertion but still remain on one’s bike. Expressive: “He’s pedalling like a box of spanners”