Have you tried going into "Control Panel" and then "Sound", clicked on the "Playback" tab and set the device to be the default for sound? As long as you set it to default while connected, it should then revert back to the laptops speakers when the other device is disconnected.