Before you can leave, you must fight one Wandering Monster. Roll on the WM table and kill it; this exit monster carries no treasure.
If you have the potion, the mayor pays 500 gp and the child is saved. If not, you get no reward, but gain 100 experience points for surviving.