Combine chocolate and butter in a heavy saucepan; cook over low heat, stirring frequently, until chocolate and butter melt. Add sugar and milk; continue to cook over low heat, stirring constantly, until sugar dissolves. Remove from heat; cool. Stir in sherry and vanilla. Serve warm over ice cream.