On Intel-based Macs, the internal microphone becomes the audio input device if an external audio input device is disconnected.
If you want to change the audio input device, use Sound preferences.