What country are you in?
Sometimes actual medical issues can cause psychosis, e.g. UTIs (Urinary Tract Infections) or brain tumors. Getting him into a safe environment was the correct thing to do. If he returns and you don't feel safe then getting yourself into a safe environment is the correct thing to do.