不得已 is thst you don't wanna do the thing,however someone or anything else makes you have to do it,you must do it,but you're compelled.
不堪 is that you cannot endure any more.
造句:我不得已而辭掉這份工作
我不堪疲勞所以辭掉這份工作
My last trip in Hong Kong. I visited Causeway Bay then went shopping. I noticed it was crowded everywhere. I met one of my old friends. He took me to see tourist sights around the city. I stayed in Hong Kong for a week.