Even if you could have magically teleported yourself right home to your wife the minute she requested that you come home, that would not have solved the problem (but a teleportation machine would solve A LOT of other problems in your life no doubt

). Your wife has a serious mental illness, and there is nothing you could have done to show her that you indeed “do not want her to leave”.
My advice would be to leave work at normal/reasonable time – letting your wife’s condition have a negative impact on your work life will not help the situation. When you get home, be prepared to validate feelings but leave and take a time out if she becomes abusive to you. When I face that situation, I like to keep my phone and car keys in my pocket and a coat and gloves in my car in case I have to make a hasty retreat to avoid being abused. Good luck!