Hello and welcome to Healthcare Magic. Thanks for your query.
Unless you have been in a completely closed room, totally shut off from any air supply for a few hours together, it sounds improbable that the incident of staying in that room could have caused you hallucinations
and confusion. Moreover, it again sounds improbable that spending some time in that room would have caused you to become immobile for 3 hours, so as to not be able to get out of that room.
There are two things which are concerning to me. Firstly, your hallucinations, confusion, etc. which needs further evaluation. Secondly, such a scenario of harbouring such unhygeinic conditions inside your house and your behaviour of shutting yourself inside that room for hours also seems concerning to me. Please see a psychiatrist
for a detailed evaluation and psychological assessment.
Wish you all the best.
Dr. Jonas Sundarakumar