It would depend on how much height you have to play with. I've had a mag let go just after takeoff and I only had enough time to reduce power before the engine shook itself off its mounts. Had I tried to switch mags I might not be here today if I had selected the dead one.