the plan worked out was to resist strongly until all the infantry were ashore , to damage them as much as possible using the protection of the parapet , and then to fall back into the trees , luring them away from their longboats .