Tens of thousands of Palestinian refugees managed to flee the area , but thousands more remain inside .