Same thing for me. I had a rock climbing fall in 2021 that destroyed all the ligaments in my popping ankle. It took a long time to even be able to drag my ankle for nollies like I could before and I re-injured it landing primo on a backside flip. It still fucks with my head sometimes and when a trick feels off I bail differently than before and don't commit to stomping certain tricks as much.
It also meant I could no longer confidently skate most vulcs and many shoes since there was significant ankle stability issues and roll potential. I moved up from shorter boards because I had some rolls from being a little too tipped fore/aft while landing.
Mine was/is my front foot. All nollie, switch, noseblunt, noseslide, nosegrind, etc. stuff was total mind-fuck to get back. Pop on nollie/switch stuff has diminished, and re-learning things where I land on front foot was a huge
mental battle (e.g. noseblunts, nose slides, nose grids, etc.). Kickflips were incredible hard to get back, because my ankle doesn't really roll/bend any more. It took a month before I even had the ankle strength to flip the board 1/2 way over. Major injuries when you’re already and "older" skater suck. But hey, I am doing all those tricks again, just not as high/smooth/consistent as before, so I can't really complain. In fact, I actually consider what I can do at this point to be a blessing.
The madness aspect of it--when I started skating again, I thought a smaller set-up might help off-set a slower/weaker ankle (e.g. easier to flip, lighter, etc.). But realized after awhile they were too twitchy and didn't feel stable. I eventually ended up back on same set-up I had pre-injury....and today I am riding any even bigger set-up (and loving it).