The PLO pulled out of Beirut in the early 1980s after being given guarantees from the international community that the remaining Palestinian population, unarmed civilians, would be protected both from Lebanese Christians and Israeli forces.
Then Israeli forces colluded with Christian militias to massacre Palestinians in their camps.
Hamas was never going to disarm and hand back the hostages based on "Trust me, bro".