A 23-year-old man was detained after assaulting security staff after attempting to leave with £300 worth of stock.