Do not touch the oven racks while they are hot.
Pull the rail towards the other side to detach.
Insert the rail holders to attach and refit the rails.