You can still keep a cat even if it gets hit. Generally, cats don't hold grudges; their memories are short, and they won't remember what just happened. However, if it's frequently hit, its temper can become irritable. Some cats even harbor resentment, remembering their hatred for their owners and always looking for opportunities to retaliate. It might even start resisting, scratching, and biting its owner.

Cats are actually easier to get along with than people, and almost every one of them is incredibly cute. Don't impose too many rules on yourself or your cat. As long as it doesn't do anything too bad, generally avoid hitting or scolding it; instead, pamper it. Spend more time with your cat, play with it, and you can rebuild a good relationship. This will allow your cat to gradually forget your shortcomings, regain its trust, and naturally, stop holding a grudge.