Sometimes disparagingly called the 'ostrich algorithm', 'cos it's like sticking one's head in the sand and hoping the problem will go away.
Deadlock situations may be many and subtle, and it is often certainly
not possible to recover from deadlocks, or dynamically avoid them in practice.
In general, though, when designing a system, be it an OS, or a program
with cooperating threads, it is better to try to prevent deadlocks than
it is to ignore them completely.