In the event of failure even in the face of all these precautions, a very powerful line, 2 miles long, was thrown up around the Fort of São Julião da Barra on the Tagus estuary to cover a retreat and any embarkation if it became necessary.