A 35-year-old man presents to the emergency department after telling his partner he intends to kill himself with his hunting rifle. He admits to ongoing thoughts of suicide with a specific plan and access to firearms. He is cooperative but tearful. What is the most appropriate immediate management?