You can reassign the task which is assigned or available to you to another person. You can do this either in the Task List page or in the Task Details page.
If you reassign an assigned task to an invalid user, then it remains assigned to you. Similarly, if you reassign an available task to an invalid user, then it remains in available state.