Your reinstatement obligations are defined by the terms of your lease. Most commercial warehouse leases in the UK include a clause requiring the tenant to return the property in the same condition as it was at the start of the lease - typically 'good repair and condition', with reference to a schedule of condition drawn up at lease commencement.
For racking specifically, this typically means removal of all racking structures - uprights, beams, bracing, and baseplates.
It also means removal of all floor anchor bolts - or, more precisely, the filling and making good of all anchor holes in the concrete floor slab.
And it means making good any damage to the floor, walls, or structure caused during installation or removal.
The extent of these obligations depends on the specific terms of your lease, the schedule of condition, and any licence for alteration that was agreed when the racking was installed. If you don't have copies of these documents, find them now - before you serve or receive a dilapidations notice.