adverb taking the 'to' particle
suddenly (fall asleep, fall over, die)
Mimetic adverb describing a sudden, often gentle or unresisting, collapse or transition into sleep or death. Used with と.
疲れていたので、ベッドにコテンと倒れ込んだ。
I was so tired that I flopped onto the bed.
おじいちゃんはソファでコテンと寝てしまった。
Grandpa suddenly fell asleep on the sofa.