Until it turns you upside down....

I guess if it's a quick turn upside the centrifugal force may keep the beer in the can. Otherwise it would need something that would seal over the lid of the can and tubing.