Being held involuntarily for a mental health evaluation would be a good excuse for missing a court hearing (you will need documentation) and this should result in the court dismissing any fines (and the MVD lifting any license suspension) that has resulted from your failure to appear.
Skittles, you will want to find out if a failure to appear warrant has been issued. If one has, that needs to be taken care of first, before you are arrested on the warrant. Having an attorney handle this for you is recommended. Then you can deal with the failure to yield traffic offense.
Before you decide to drive to court (or anywhere, for that matter), you should find out if your license has been suspended. You already have one traffic violation to take care of in court. You don’t want to add a second violation.