Answer:
Like any wave, a sound wave doesn't just stop when it reaches the end of the medium or when it encounters an obstacle in its path. Rather, a sound wave will undergo certain behaviors when it encounters the end of the medium or an obstacle. Possible behaviors include reflection off the obstacle, diffraction around the obstacle, and transmission (accompanied by refraction) into the obstacle or new medium