~っぱなし
Leave a state unchanged or keep an action going
You’ll be able to describe leaving the result of an action unattended or continuing an action without a break, recognizing the often unwelcome consequences.

キャンピングカーの明かりをつけっぱなしで寝てしまいました。
kyanpingu kaa no akari o tsukeppanashi de nete shimaimashita.
What do you think this sentence means?
I ended up falling asleep with the campervan lights left switched on.
Leave an action unattended or continuous
Attach っぱなし to the verb stem to describe leaving a state unchanged after an action without taking necessary follow-up care ("leave on/open").
水を出しっぱなしにしないでね。
mizu o dashippanashi ni shinaide ne.
Don't leave the water running.
電車が混んでいて、一時間立ちっぱなしだった。
densha ga konde ite, ichijikan tachippanashi datta.
The train was crowded, so I was standing the whole hour.
Attach っぱなし to the masu-stem
Remove ます from the verb stem and attach っぱなし. Common examples include 開けっぱなし (left open), つけっぱなし (left turned on), and 立ちっぱなし (standing continuously).
窓を開けっぱなしにして出かけてしまった。
mado o akeppanashi ni shite dekakete shimatta.
I ended up going out leaving the window wide open.
~たまま vs ~っぱなし
Both say something stays as it was. ~たまま is neutral. ~っぱなし adds that it was left that way carelessly, so it usually sounds like a complaint.
~たまま, as it is (neutral)
ドアを開けたまま寝てしまった。
doa o aketa mama nete shimatta.
I fell asleep with the door open.
Neutral: that was the state.
~っぱなし, left carelessly
ドアを開けっぱなしで寝てしまった。
doa o akeppanashi de nete shimatta.
I fell asleep having left the door wide open.
Left open and forgotten; sounds careless.
玄関に自転車を置きっぱなしにしないで、ちゃんと片付けなさい。
genkan ni jitensha o okippanashi ni shinaide, chanto katazukenasai.
Don’t leave your bicycle lying at the entrance; put it away properly.
友達にマンガを借りっぱなしで、もう一年も返していない。
tomodachi ni manga o karippanashi de, mou ichinen mo kaeshite inai.
I borrowed a manga from a friend and never gave it back; it’s been a whole year.
今日は一日中会議で、朝から座りっぱなしだった。
kyou wa ichinichijuu kaigi de, asa kara suwarippanashi datta.
I had meetings all day today, so I was sitting the whole time from the morning.
7 more examples in the grammar path — free for a limited time.