Negotiations began, and in 1984 Prime Minister Margaret Thatcher signed the Sino-British Joint Declaration, in which Britain confirmed the transfer of the New Territories and all of Hong Kong to China in 1997.
After discussions ended in 1984, Britain gave land to China.
Or, rather, to a market that was hyperventilating for as real a reason as there  Markets are made up of people, and people sometimes get afraid.