The Koan of Staying Engaged and Letting Go

How do we stay deeply engaged with our life and the life of the world, while at the same time not getting attached to an outcome? How can we practice letting go and yet not become detached and disconnected?