After turning off the camera, it automatically performs sensor cleaning. This is accomplished by sensor vibration and some models additionally feature ultra sonic waves to remove dust from the low pass filter. This causes the noise and the high frequency sound.