I'm not sure they really can leave whenever they want. I think once you're far down the education track you will probably feel like you're trapped into continuing even if you decide you don't want to do it anymore, because the education loans will kill you and you need the big income on the other end to fix this. That probably contributes to the creation of a lot of miserable and crappy doctors.