leaving the harbour of palawan , they came across a large trading prau and carvalho steered straight towards it as if to ram it but then ordered his men to throw grappling hooks and secure it alongside .