You should observe your pet and understand its abnormal behavior. A cat urinating out of its litter box, all of a sudden, shouldn’t be left unobserved. It could have a kidney infection, urinary tract infection (UTI), or other issues. Get it checked and then train it again.