Hello there! I am Charity. I'm glad to help you today!
May I ask if you have already tried resetting the app?
Press Win + I to open Settings.
Go to Apps > Apps & Features.
Search for Xbox Game Bar.
Click it > Advanced Options.
Click Terminate, then Reset.
Please let me know if you have any more questions, I'll do my best to respond as soon as possible.
Kind Regards,
Charity
Please note that things might need more than one reply to completely resolve your issue, as it will completely depend on the complexity of the question and the amount of detail that you have provided me.