In the US the first two years of a PhD are heavily focused on classwork, with a research component; the latter years are the "sabbatical to focus on your own research." People who quit after the first two years are often granted a parting Master's degree, because that's basically what a Master's is - the two years of graduate coursework that kick off a PhD.
This does, of course, differ by program.