No worry! If a cat tries to enter the ball compartment when it is self-cleaning, the monitoring sensor will trigger it and stop running immediately. The box will resume cleaning process after the cat left for a certain time(Safety time).