There should be at least two bolts on each side of the bed frame that attaches it to the sofa frame. Loosen those. Tie the folding stand located at the foot of the bed to the frame with heavy duty rope or bungee cords. Lift the bed frame up and out of the couch frame.