While many companies did try to get a PR bump from it, most companies pulled out due to government imposed economic sanctions on Russia, not because they had an ethical or moral drive to punish Russia for their actions
The government then seized all the McDonald's and reopened them. Apparently the food quality got slightly better too.