The selloff in US debt appears close to being over as the Federal Reserve nears winding up its most aggressive rate hikes in a generation.