TLDR: My friends' cat attacked me. I'm ashamed of how I reacted. I know I need to talk to them but I have no idea what to say.
I'm sorry this is so long, I don't know how much context is useful.
I'm the back up babysitter for my friends' cats. I used to be the main babysitter but, after being bitten one of the cats, I realized I don't really want to do it anymore. My mom is the back up if I can't do it, and now I don't want her to do it either.
I've been around cats my entire life and I'm pretty good with them. I thought I was really good at reading their signals and body language but I didn't do a good job this time I guess.
I had picked him up, and all was good, he was chill. I started to put him back down and he shifted into the, "Okay I'm ready to be set down now." position, but didn't seem annoyed or angry.
As soon as I set him down he started hissing and attacking me. This wasn't play. I'm wearing a long dress so luckily he didn't get my legs but he was trying to get to my legs. He managed to get me good on my arms and hands.
He chased me almost halfway to the door, hissing, spitting, and trying to attack my legs. It felt like a very dangerous situation and I didn't know if I could make it to the door without it getting worse. So I grabbed him by the scruff of the neck and kind of tried to pin him to the ground without actually hurting him. Once he was on the ground I was able to stroke his back and talk to him calmly. When I let go of him he was back to being pretty chill so I got out of there as quickly as I could. I still checked their water on the way out though!!
I have no idea what to tell my friends. I need to check on the cats again tonight and two more times tomorrow and I also need to water their plants. They have over a dozen plants so I can't just get in and get out.
I also just feel really ashamed and abusive for pinning their cat down like that. I'm scared to go back but they don't have anyone else to check on the cats.
What would you do in this situation?