The technique used for the Hiroshima and Nagasaki drops was to turn immediately after the drop, to be flying directly away from the detonation point at the moment of detonation.
However I think this was simply to maximise range from the blast rather than any particular advantage of presenting the rear of the aircraft. After all, continuing straight would also mean the detonation was directly behind, but obviously at a much shorter distance.