When Moriarty shakes Sherlock’s hand at the end, Sherlock cocks his head in a slightly puzzled manner, looking at him in confusion… at least, that’s what you realise when you notice that Moriarty used his right hand to shake hands with him, despite being left-handed (as we see earlier in the episode, with the teacup). Moriarty left his main hand free to grab his gun and kill himself, and Sherlock has just enough time to notice that.

John Hamish Watson, just if you’re looking for baby names.
i was so alone, and i owe you so much
fangirl challenge ;; [15] friendships
+ John and Sherlock: I was so alone, and I owe you so much.