UN chief faces persistent challenges after leading body through pandemic