Each entry on a visa is adjudicated independently, and on your return, you will be seeking to be admitted anew on the basis of your visa. You may be admitted for 6 months, less than 6 months, or be denied entry. All of that is possible. Whether your past entry will have an effect on how long you will be admitted or whether you will be admitted is impossible to predict -- it is up to the whim of the immigration officer at entry.
(There is something called Automatic Revalidation where you can be admitted for the duration of your previous I-94 even if your visa is expired after a trip of less than 30 days to Canada or Mexico, but that doesn't apply here as it is more than 30 days. Also, VWP has rules where traveling to Canada/Mexico/Caribbean islands doesn't give you a new period of admission on VWP, but that is not relevant here as you are not on VWP.)