If a player sacrifices their commander this way, they won't be able to choose whether to put it into the command zone until after Danse Macabre has finished resolving. Notably, this means that the sacrificed commander is a legal choice for the spell's controller to return to the battlefield. If they choose it this way, it will stay on the battlefield under their control.