It's beneficial to be able to change your attitude or your mindset in any given situation. It's more than just turning a frown upside down, it's about changing your whole world view. Mental discipline is one of the keys to the complex Nirvana lock.
Many people think 'detachment' means not caring about anyone or anything. Detachment actually means that you don't fear losing a family member or a friend. By detaching from your fear of loss, you free yourself to love, more openly and completely.