The President had advised her not to go. I guess there’s not much harm she can do. Hopefully.
Imo POTUS was just trolling the DS when he asked he not to go. Otoh he could have been concerned they were setting her up for perjury.