The moment a "hero" shopper took off his jacket and forced a would-be jewellery robber to the ground has been captured o CCTV.