If UK had not switched recognition from ROC to PRC, they could have returned it to ROC instead.
UK could have demanded a lease renewal from PRC as the price for switching recognition. Instead they just got some “alliance” against the Soviets and it is questionable what that actually delivered.