When it comes to undercooked chicken, you'd want to recook it immediately, no matter what cooking method you used. Storing or letting it sit before recooking will increase the chances of bacteria multiplying, thus it will not be safe.