In a three-dimensional coordinate system, a circle lies in the xy-plane with center at the origin and a radius of 5 units. A point \( P \) is located at \((3, 4, 6)\). Find the distance from point \( P \) to the nearest point on the circle. Let's think step by step and output the final answer within \boxed{}.
user