Tough luck man, I can relate to the sitting up in the sprint. I've done that several times, and it always sucks to know you left something out on the course.
It's right up there with really long, tough, races and thinking "I'm not good enough, I should just quit...blah blah blah." Doubt is a b*tch, and I'm trying my best to replace it with anger