Partially it does. But not as intense as the raw version.  All garlic contains Sulfur compounds, which is the origin of its distinctive flavor. When chewing, cutting, or mashing, you can perceive these distinctive gasses when slicing an onion. But this only lingers for as long as it can, not forever.