Trapped dog freed after 5 days in crevice