Engine shut off during take off

Is your mixture set to compensate for the altitude?