As mentioned before, you must defeat Captain Axe-Hand Morgan. Morgan is normally located at the top of the highest building in the marine fort in Shells Town. When you defeat him, look for an axe lying on the ground, and touch it. You will be asked if you want to replace your sword with it. When done so, press confirm.