Mahindra & Mahindra shares opened sharply higher at ₹3,367 but gave up most of the gains by midday, trading at ₹3,302 amid selling pressure.