Jonathan Swart was found by police officers during a welfare check at his house on October 30, 2019.
The 46-year-old had gone missing twice in the week before his death and was sectioned twice.
He was taken to James Paget Hospital but was released just days before he died.
An inquest which will look into the circumstances surrounding his death was opened and adjourned at Suffolk Coroner's Court in Ipswich on Friday.
The court heard how Mr Swart initially went missing on October 25 but was found safe by officers before again going missing.
He was found on October 28, walking along the Suffolk coast at Kessingland and was sectioned.
He was found two days later lying on the floor of a downstairs bedroom in his Wangford home by Suffolk police who were carrying out a scheduled welfare check-in.
A full inquest into his death is due to take place on May 20.
Comments: Our rules
We want our comments to be a lively and valuable part of our community - a place where readers can debate and engage with the most important local issues. The ability to comment on our stories is a privilege, not a right, however, and that privilege may be withdrawn if it is abused or misused.
Please report any comments that break our rules.
Read the rules here