A method for holding a hollow internal organ in a desired location during a medical procedure uses a retractor device and a gripper element, each of which includes a magnetic member, one being a first magnet and the other being either a second magnet or a non-magnetized magnetically permeable member. The retractor device is placed into the lumen of the organ and the gripper element is located outside the body cavity of the patient. The magnetic members of the gripper element and the retractor device are brought into proximity with each other to capture a wall of the hollow organ and a body wall of the patient between them, with the gripper element being held at a location that secures the organ at the desired location. In another embodiment, the gripper element is placed inside the body cavity of the patient and outside the organ, with the magnetic members of the gripper element and the retractor device in proximity with each other to capture a wall of the hollow organ between them. A portion of a cord, the distal end of which is attached to the gripper element, is located externally of the patient and anchored at a location that secures the organ at the desired location.