What happened while Mary was away searching for Ajay? Sherlock must have expected her to run - they did trace the memory stick, after all. He didn't, however, expect John to show up on his doorstep in the aftermath. Then again, the army doctor always has been the wild card.
Ah this is a short, sweet moment of settling in for Sherlock and John and their new situation. A lovely missing scene.