I’d just siphon it out personally. If the boat is out of the water on stands or a trailer you can get the containers well below the boats tanks. Your going to remove the gas exponentially faster if you put a 1 inch hose or larger in the filler neck and siphon vs using a pump to suck it through a tiny (probably 3/8 in) gas line.
When I worked at a boatyard we built a hell of a transfer pump out of a fairly large old bronze jabsco raw water pump (probably off a 16v92 or something) and an AC induction motor. That thing moved probably 40-80 gallons a minute depending upon what size hose you could fit in the tank. Pumped it into those 275 gallon cubes that the fiberglass resin comes in. Used to have to pump hundreds and sometimes thousands of gallons of gas and diesel out of boat that were getting scrapped or had been sitting for years and even decades in our yard unused and then suddenly the owner decided to put it in the water again. That pump they built out of old junk parts they had laying around worked better then any off the shelf commercial transfer pump I’ve used.