As all seemed quiet , he threw down some little pebbles which hit the jars . He listened , and as none of his men seemed to stir he grew uneasy , and went down into the yard . On going to the first jar and saying , `` Are you asleep ? '' he smelt the hot boiled oil , and knew at once that his plot to murder Ali Baba and his household had been discovered . He found all the gang was dead , and , missing the oil out of the last jar , became aware of the manner of their death . He then forced the lock of a door leading into a garden , and climbing over several walls made his escape . Morgiana heard and saw all this , and , rejoicing at her success , went to bed and fell asleep . At daybreak Ali Baba arose , and , seeing the oil jars still there , asked why the merchant had not gone with his mules . Morgiana bade him look in the first jar and see if there was any oil . Seeing a man , he started back in terror . `` Have no fear , '' said Morgiana ; `` the man can not harm you : he is dead . '' Ali Baba , when he had recovered somewhat from his astonishment , asked what had become of the merchant . `` Merchant ! '' said she , `` he is no more a merchant than I am ! '' and she told him the whole story , assuring him that it was a plot of the robbers of the forest , of whom only three were left , and that the white and red chalk marks had something to do with it . Ali Baba at once gave Morgiana her freedom , saying that he owed her his life . They then buried the bodies in Ali Baba 's garden , while the mules were sold in the market by his slaves . The Captain returned to his lonely cave , which seemed frightful to him without his lost companions , and firmly resolved to avenge them by killing Ali Baba . He dressed himself carefully , and went into the town , where he took lodgings in an inn . In the course of a great many journeys to the forest he carried away many rich stuffs and much fine linen , and set up a shop opposite that of Ali Baba 's son .
He called himself Cogia Hassan , and as he was both civil and well dressed he soon made friends with Ali XXXXX 's son , and through him with Ali Baba , whom he was continually asking to sup with him .
Baba Captain Merchant Morgiana course daybreak escape first left stuffs