While it is never explicitly said, the intention is clearly present in the scene.
Earlier they discuss the advancement of his disease:
The infection has spread too far. You should have cut off your arm the moment you were touched.
How long?
It'll be years before it kills you. Could be 10. Could be 20.
But how long until...?
Your mind? Six months, maybe fewer.
The maester then clearly gives him the option to take his own life and even hints at it being the best option:
Were you a commoner, I'd have you shipped to Valyria at once to live out your life with the stone men. As an anointed knight, I'll allow you one more day. How you choose to spend that time is up to you.
He says this while looking at the sword in the corner (obviously a "Chekhov's gun"). It is a clear hint that he expects Jorah to end his suffering by his own hand, a final honorable deed "as an anointed knight".
The maester then urges Samwell to leave him be, but Sam isn't done:
Should we send word to your family, Ser...?
Jorah. Jorah Mormont.
Mormont?
There's no need. I've been dead to them for years.
So he's got no family, and is struck with an incurable and very painful disease that will make him lose his mind in mere months.
No, Jorah isn't thinking about exile.
A later scene shows Samwell arriving with what he hopes is a cure of sorts, and he says:
My name is Samwell Tarly, Sworn Brother of the Night's Watch, training to serve as maester at Castle Black. I knew your father. I was with him when he died. You are not dying today, Ser Jorah.
(h/t to Devdatta Tengshe for reminding me of this.)