Once your line is clear of water, detach the keg coupler and release the pressure valve. Re-attach your keg coupler to the keg and open the beer tap to push out any remaining water. Detach your coupler from your keg and attach to the bottle ensuring your gas regulator is still connected.
eBay