you should disconnect the gas supply and cap it off according to your local gas code ... depeding on the style of venting you may be able to install a cap on the flue ,,BUT DO MAKE SURE YOU DISCONNECT GAS SUPPLY TO THE APPLIANCE AND CAP IT OFF PROPERLY you may wanna wrap the the termination with a small plastic tarp or something if it cant be removed