Then Bensurdatu climbed on board , and sailed away to the city where the three princesses dwelt ; and when he reached the harbour he blew trumpets and beat drums , so that every one ran to the doors and windows .