Catalysis of the reaction: ATP + H2O = ADP + phosphate; this reaction drives the topological linking or unlinking of chromatin from a cohesin ring complex.