Yes, I had to basically completely relearn how to play golf. I was 950-something rated a couple years ago, predominantly RHBH with a somewhat useful, occasional forehand.
Dislocated my throwing shoulder for the 7th or 8th time 2 years ago, and went in for my second surgery. So I had an open Bankhart revision (labrum repair) and a rotator interval closure, which severely limited my external range of motion. I also have a lot of arthritis in that shoulder, and if I was 55 instead of 35, it would already be replaced.
So, I will never throw backhand again. Admittedly, that is probably more a mental thing than a complete physical inability to do so, but I now throw exclusively forehand, and it's a weird abbreviated motion at that due to the limited external ROM. Coming back to throwing after surgery and rehab, I could literally only throw about 40 feet. And putting was almost impossible because I could not raise my arm above chest level. Now finally, two years and a deltoid injury setback later, I can putt pretty well out to 25' and on my best throws I can flirt with 300 feet. My expectations are completely different, and sometimes, it's difficult to be out on the course with my new ability when I think about what I could do before. To be honest though, I'm having more fun now and taking it less seriously, which I think has been good for me.
Not sure what your injury was, but I wish you luck in coming back. If it wasn't overly serious, I think things will come back pretty quickly.