To prevent items from rolling around in the trunk, use non-slip mats or liners on the floor. These will create friction and help keep items in place. Additionally, securing items with bungee cords or cargo nets can prevent them from shifting during transit.