So taking that on one stage...
(a) What if, using the same scenario, batsman B did leave his crease, then returned by the time Batsman A got to him?
(b) What if, using the same scenario, batsman B did leave his crease, the batsmen crossed, then B returned to his crease before the bails at the...