Root results in different cases

Hey, I just want to confirm, if there is sqrt(25), then ETS says it is 5 only, but when there is sqrt (5^2), then the result is |x|=5, yes?

\sqrt{5^2} \rightarrow \sqrt{25} is also just 5. You need to be careful with what you’re trying to say here.