ยง 528. Procedure before court. The court before whom the respondent istaken under section five hundred twenty-seven may require an undertakingto appear or in default thereof may place the respondent in custody.