I'm not going to risk being charged with harassment, involuntarily committed (can they do that if I'm not a danger to myself/others?) or any other serious consequences.
That's not even a worry. But given the far you have over it, it's time to stop talking, stop thinking, and get yourself competent legal counsel. Not least, so they can tell you that :)
Right now, you are your own worst enemy. I get it, it's an open wound, your brain can't stop thinking about it, and you are filled with the drive/need to do something. Catch yourself at that, and decide what you want to do: Handle those emotions (counseling/support/priest/letting go/etc.) or resolve the external situation?
The emotional thing is out of our bailiwick, but I want you to be very clear on what it is you really need before you go down the legal path. Pursuing the legal path to answer that urge to do "something" / fill that emotional hole is a huge mistake that will lead to even more suffering. But not criminal charges, unless somebody does something criminal.
The Cease & Desist order, plus $6, can be redeemed for a small coffee at Starbucks
Its meaning/value are limited. If it comes from the perpetrator, obviously, it means nothing and is a complete joke. Imagine Harvey Weinstein sending a cease and desist to stop talking about their sexual abuse! That would be meaningless.
If it came from the university's counsel, then it has the small value of allowing them to trot into court and say "We served you notice", but that doesn't mean anything either, unless they can show you engaged in a pattern of behavior that was extreme and bizarre.
The mere seeking of redress is perfectly reasonable -- just ask any debt collector! However in the law, there is a balance between the right to demand, and the right not to be harassed.
And you bet there's a free speech argument here -- they can't force you to un-friend the people you know there! And they can't force you to "go away"!
However, "Talk to our lawyers" is fairly important
When a person or company says "It's time for you to start talking to my lawyer", you should probably heed that. The court system (being made of lawyers) does endorse this strategy; not least because beyond a certain point, a lawsuit becomes the likeliest course of resolution, and at that point, legal counsel is supposed to be the single channel through which everything goes.
So yes, if someone has said "Stop talking to random employees, start talking to counsel", you ought to heed that and talk to counsel.
The reason is that when you get to lawsuit, they can use that against you. Once you decide to sue, you must start going through the single channel of the lawyers. For instance if you interview an employee, that's supposed to happen in deposition with both lawyers present. If you have communications without them, that's called an "ex-parté" communication, and it creates a lot of problems for the case. This can taint your case and make you look sloppy.
And mind you, this may not be your lawsuit you are tainting. For instance if the professor is already defending.
If you have something to add to a case, talk to the friendly side.
If you have testimony to support one side, go talk to them about how best to use that testimony. Again this has to go through their lawyers, because they know their strategy and how you could help; and you do not.
Even if they haven't filed a lawsuit, you can present evidence via something called an affadavit, a written statement which you sign and get notarized. They may be able to wave it at the university and get a concession.
For the record, we're a long long way from jail
We're a long long way from this thing placing anyone at risk for a ride in a police car. Right now it sounds like everything is an academic matter, it's not even a civil matter where jail is also not a possibility.
So first, things would have to cross the line into where the civil courts were involved. And then, you would have to really anger a judge to the point where the judge declares you in contempt of the court's authority, and then the judge can jail you as a matter of caprice. The only path i can imagine is if somebody found a way to frame what's happening as stalking and got a restraining order (those you must obey) and then you blatantly ignored it. Restraining orders work on the "contempt of court" mechanism.
The only other possible way is if things go so bad they crossed into criminal law. But usually competent lawyering keeps small-time and first-time offenders out of jail.