The No. 4 UNC baseball team (13-0) survived No. 24 Coastal Carolina (10-3), 5-4, on Tuesday evening at Boshamer Stadium.