Man prevented from committing suicide