The alcohol does cook off when baked. However, if you'd still prefer an alcohol-free recipe simply swap the sherry with 1/2 tsp red wine vinegar.