I left my PhD program after 3ish years. It was not working out with my advisor. I felt he was abusing research time, more interested in university research as a business than hard science. I'm sure the line is thin for many programs, but he did get in trouble for it years later after I left. His students were shuffled to other advisers and he was removed. So many years lost for so many students. I'm very glad I left when I did, but it's also one of my biggest disappointments as a lover of hard science and engineering.