Cats don't normally pee in the house. When they do, there is usually something wrong. Either they are upset by something or they are sick. Since your cat is sick, it is understandable.
The only reason I brought it up is because, if I was a cat, I would want my humans to pay me that courtesy when the time comes.