Walking away can sometimes create a sense of longing and make someone realize what they might be missing. It can potentially spark interest and make him want you more. However, this outcome is not guaranteed as it depends on various factors, including the individual's feelings, mindset, and the nature of the relationship.