I am a PhD student currently in my second to last year. Last year something weird happened, my supervisor forced me into projects in which I was not interested. He forced me into collaborations which I didn't want. Actually, I had already written some papers in collaboration and was trying to work independently on my own ideas. But he didn't pay a lot of attention to my ideas and calculations and asked me to jump on projects which he felt could result in a paper really fast. I did it but it broke my spirit. Having to work on things I had no interest in made me lose my motivation.
I came into physics from another field. I could have gotten a wonderful job but I left it all for physics because I love it. But after being forced to work on things that didn't interest me multiple times and not letting me do my own stuff and not paying attention to them, I lost all interest in the field. Everything felt like a waste of time. Actually I always had this idea in my mind that PhD is the time when you are supposed to learn to become an independent researcher and this situation made me feel that it was a waste of time. Also, my supervisor is obsessed with the number of papers, which resulted in average papers that could have been far better if he wasn't so hasty. I was ready to risk spending a long time on projects but he wasn't. Afterall, how can you expect to publish good results if you do not risk losing time on dead end directions? Anyway, since then I have been struggling to regain my passion and it has been a year now. I am finally allowed to do my own things but it feels useless now since I lost my drive so badly that I am finding it hard to get back on track.
Therefore, my questions to academics here: can you provide some suggestions/methods/ways to regain my lost passion since right now is the crucial time in my PhD and I feel I am wasting time because of my disrupted mindset?