Ellie leaves coffee beans on Joel's grave as a deeply personal and symbolic gesture. Joel loved coffee, which was a small but meaningful comfort in the harsh post-apocalyptic world they lived in, while Ellie herself did not like coffee. By leaving coffee beans on his grave, Ellie honors Joel's fondness for the beverage and celebrates their complex but loving bond. This act represents a tribute to Joel's memory, the simple pleasures he cherished, and the surrogate father figure he was to Ellie despite their complicated relationship.