So what's the treatment?
Simply put, a day or two of rest generally does the trick. That gives enough time for the body to readjust and recouperate from the lost sleep. I do not drink any caffeinated beverages on days I don't have to work. Yes, I'm tired, but the detox days clear my system and help prevent it from developing a resistance.
Fortunately caffeine does not have anywhere near as long of a withdrawal period as more illicit drugs. Unfortunately, in many professions, the substance is practically a necessity.