The dynamics of buoyant releases in confined spaces