Question: do frodo and sam die?
Answer: They are both clearly alive! Frodo and Bilbo sail with the elves and Sam returns home. While it is not explicitly stated that they stay alive, we do not see them die; we see them literally sail away.