It is sad when the people who are in charge can't recognize such an important role. I'm so sorry this happened to you, and if you can, keep mentoring. At a time when juniors are struggling more than in the past you could be the one to really help.