I definitely have more incontinence issues when I'm sick, flu or cold and when I had COVID. In all these situations it happened most of all when napping or sleeping where I experienced a massive loss of urine and wet without ever waking up. I often wear a very high capacity diaper so I can try to get as much sleep as possible, usually the thing that gets me better faster.
I've heard of friends having accidents when they were really sick, I never suggest diapers as it is usually a short term thing but someday if I open up more about my bed wetting and incontinence I might offer a sample to a friend who is sick.