If the feedback signal indicates the presence of cavitation, the therapeutic ultrasonic waves are terminated or altered.