To detect collisions between a circle and an AABB, you should find the closest point from the AABB to the circle. You can run the below code snippet and try to move the purple point which represents the AABB center to watch the position of the closest point.
<iframe src="https://www.desmos.com/calculator/u32th8uhli?embed" width="500px" height="500px" style="border: 1px solid #ccc" frameborder=0></iframe>
(Forgive my clumsy finger).The pseudo-code is:
func CheckCollision() {
vector3 distance = AABBCircle.Center - CircleAABB.Center;
//Clamp(value,min,max)
vector3 clampDst = Clamp(distance, -AABB.Bounds, AABB.Bounds);
vector3 closestPoint = AABB.Center + clampDst;
return Distance(closestPoint -, Circle.Center).SqrMagnitude ><= Circle.Radius;
}