Lost 1.7mil gold after joining a friends session

Anyone know what i can do or can someone give me neare support to help me. Precious time, as in, hours of playing were lost!