Duan Yuan didn't sense any evil being around so he used this chance to continue investigating in the room, finding all the things that he could find as clues for his investigation. He doesn't know whether there will be more evil beings that will come, but he knows that they will definitely obstruct him again in whatever he is doing. Worse, they might kill him, which is likely to happen so that they could eat him after.
This is the struggle that the evil ghost wanted to see from him to satisfy its disgusting hobby. But of course, Duan Yuan wouldn't let the evil ghost get what it wanted. Not to mention that he is an exorcist who is the enemy of evil beings, but this also violates his principles. He wasn't fond of making others happy from his own discomfort, nor is he fond of seeing this happening to others. That is just nothing but feeling enjoyment in a disgusting way.