It's okay Wabbit,
Please don't believe he has nowhere to go. It's all manipulation. He is trying to guilt you into rescuing him from another one of his failures. When that didn't work he escalated into anger to shame you into rescuing him. He has places to go. There are shelters available. He is just trying to find an easier, softer way through you.
Regardless of whether you lost it or not, you did great! My boundaries are being pushed right now and since I am new at setting them I tend to get so frustrated I use anger to do it for me. Good thing I am not employed at the U.N.
Take care,
Lithloren