That seems to be what some Liberals are saying off-the-record:
https://globalnews.ca/news/4943451/jody-wilson-raybould-place-in-liberals/
Total speculation though.
And yeah, if (allegedly) you're demoted in cabinet because you stand up for the rule of law and democracy I can completely understand fear of reprisal. If Trudeau demoted her for that, that sounds very illegal. Reprisal is a form of harassment.