401K distribution from Trust, trying to minimize tax impact

I had a family member that worked for a few years and then had a physical injury preventing them from working. There was a trust created and her 401K was put into the trust. Recently that family member has passed and I was told I have 10 years to withdraw the money. The money from the 401K was invested with a frim in different mutual funds. I sold 30K of the 401K and it went into the trust account. I then moved the 30K to my personal account. I think the investment company will generate a 1099-R for the money coming out of the 401K. What forms do I need to fill out to give to the tax preparer to show that the money was then taken from the trust and distributed so that the trust does not pay the tax and the tax burden goes to the person receiving the 401K distribution.
I need to show the accountant preparing the taxes for the trust that the 30K from the 401K is not the tax responsibility of the trust and that the tax liability is with the person that received the 30K.

Is there a better or more efficient way to withdrawal the rest of the 401K money to limit tax liability. It is my understanding that the trust will get taxed at 37% versus whatever the individual persons tax rate is.

(not sure if the income tax flair is appropriate but it seems like it would fit)