Speak up. I was a high-performing, highly rated developer, and after a year of quiet and little feedback or interaction with my "boss", was presented with a negative performance review. It was filled with things that spanned the whole year, were never discussed with me, were due to multiple misunderstandings on his part, etc.
A specific example: early in 2019, my boss wanted me to do interviews. I had never done interviews in 30 years as a dev, and wasn't comfortable with it, so I pushed back. He dropped it (or so I thought) and it was never mentioned again...until my performance review. That's when he said I wasn't a team player, wasn't performing my responsibilities as a senior dev, etc.