Ending was not real
There's no way the fox could have survived that fall through the window. He clearly cut his throat and probably broke every leg too. The scene on the hill where the girl meets the recovered fox was probably just a dream.
Death solves all problems. - Stalin