To me detachment means letting go of outcomes. I don't control the outcome so I shouldn't place my worth on the result. Doesn't mean stop caring, not trying, not having a plan, or giving up. I am solely in control of myself. If I do my best, I did all I could at the time then it has to be enough. I can learn from the experience and improve the process for future experiences.
How to practice detachment? Figure out the worst thing that could happen to you? (Spiers Doctrine - "The only hope you have is to accept the fact that you're already dead. The sooner you accept that, the sooner you'll be able to function as a soldier is supposed to function.") So the only thing that matters is are you doing the right thing. It easier to make a plan, take action and be brave when you aren't afraid of the outcome, you can't get hurt if you are already dead.