An alleged blackmailer accused of threatening to hold a woman hostage in a cupboard unless she paid a drug debt has been refused bail.