Anybody know what's the proper way to insert & remove USB cable?

I think insert is easy, just lign up the pin & push in straight, but the remove part is tricky because there are 2 hooks on the 2 sides of the cable. Am I suppose to lift & pull?

Thanks.