Why didn't Elrond stop Isildur?

In the Lord of the Ring movies Elrond and Isildur went to Mordor and could have gotten rid of the ring, but Isildur decided to walk away, why didn't Elrond and his incredible elf knowledge stop him?