That occurred before the war started. The war started when India crossed the IB on the 6th of September, Gibraltar was just part of the pre-war escalation just like the Rann of Kutch incident was.
And Pakistan was able to capture large quantities of land down south and in Kashmir too. Your own army literally panicked that Pakistan would be able to march right into Delhi.
Yes it was, Pakistan halted India's invasion in little over two weeks and managed to reverse it, again, your own army panicked that Pakistan would take Delhi. Not to mention the fact that Pakistan managed to do this whilst being heavily outnumbered (far more so than it is today), and made many great achievements (e.g won the largest tank battle since WW2/2nd largest tank battle in history, MM Alam holds the world record for the most aircraft shot down in under a minute, etc). For goodness sake, your own PM died of a heart attack in Tashkent!
"Pakistan claims to have destroyed something like 1/3rd the Indian Air Force, and foreign observers, who are in a position to know say that Pakistani pilots have claimed even higher kills than this; but the Pakistani Air Force are being scrupulously honest in evaluating these claims. They are crediting Pakistan Air Force only those killings that can be checked from other sources."
Roy Meloni,
American Broadcasting Corporation
September 15, 1965.
The London Daily Mirror reported in 1965:
"There is a smell of death in the burning Pakistan sun. For it was here that India's attacking forces came to a dead stop.
"During the night they threw in every reinforcement they could find. But wave after wave of attacks were repulsed by the Pakistanis"
USA - Aviation week & space technology - December 1968 issue.
"For the PAF, the 1965 war was as climatic as the Israeli victory over the Arabs in 1967. A further similarity was that Indian air power had an approximately 5:1 numerical superiority at the start of the conflict. Unlike the Middle East conflict, the Pakistani air victory was achieved to a large degree by air-to-air combat rather than on ground. But it was as absolute as that attained by Israel.
1965 War, the Inside Story by R.D. Pradhan:
In Chapter 8 titled
"Of Cowardice and Panic", the author describes the cowardice of Maj. Gen. Niranjan Prasad, the Indian general commanding officer in Lahore sector. When the general was fired upon by Pakistani forces, he "ran away".
"On learning that, Lt. Gen. Harbakash Singh and the corps commander drove in a Jonga to the battlefront. Army commander found that the enemy (PAF) air attack had created a havoc on G.T. Road. (Indian) Vehicles were burning and several vehicles of 15 Division abandoned on the road, the drivers having run away, leaving some of the engines still running. Maj. Gen. Niranjan Prasad was hiding in a recently irrigated sugar cane field. As described by Harabakash Singh: "He (Prasad) came out to receive us, with his boots covered with wet mud. He had no head cover, nor was he wearing any badges of his rank. He had stubble on his face, not having shaved." Seeing him in such a stage, Harbakhash Singh asked him: "Whether he was the General Officer commanding a division or a coolie? Why had he removed badges of rank and not shaved? Niranjan Prasad had no answer."
http://www.riazhaq.com/2009/07/demolishing-indian-war-myths-about.html