Hello. I have a very affectionate 5 year old cat that I got this August. He warmed up right away and wanted to sleep with me in my bed the first night. So I have let him ever since.
Recently he has gotten in the habit of clawing me to wake me up (or just generally for attention). I have tried both making a loud noise when he does this or ignoring him, but it doesn’t seem to work. Plus ignoring it is difficult when it hurts you lol.
So last night he was sleeping in bed with me as usual. He started clawing me at like 5 am and wouldn’t stop. So I tricked him to get him out of the room. I got out of bed and went into the hall where he obviously followed me. But then I walked back into my room and shit the door behind me.
He has been crying at the door all night which makes me feel bad but still. Is this a viable way to correct this behavior? My plan was to maybe do this each morning that he does this.
My cat started doing the same thing, except he started attacking my feet which was quite painful. I picked him up and put him outside and closed the door, then went back to sleep. Mine also cried but I sleep like a rock so it doesn’t bother me plus he can just go sleep with the other cat so it’s not like he is lonely all night. He got the hint super quick and now it’s no longer an issue.
Another thing that can trigger this is as you say, a lack of attention.
How often do you play with him? If you’re not doing minimum 15 minutes a day of active play you might want to step it up.
But then I walked back into my room and shit the door behind me.
Ultimate power move, great way to assert dominance 😂
If hes been living there more than 30 days, he has tenants right and legally you must allow him in the room as well an ensuring you’re promptly feeding him breakfast at 5am, 6am, and 7am.
Source: attorney specializing in cat law
You can let him back in after a few minutes, once your point is made. You will need to pick him up and put him out yourself, however, to make your point. Tricking him will only erode his trust in you.

