Blank period between two school

Hi
I'm currently attending Japanese language school since 2024 oct.I renew my visa last December and got new on third week of Jan which is about 4months since That language school is about to graduate.The problem start here, My total attendance was around 85% which is not good but I can still renew. The thing is attendance rate after recent visa renewal is really low (it's only about 2months of attendance) it goes under 80 and school staffs said I can't graduate anymore and I have to withdraw from current language school but they said if the senmon accept me it's still ok.
But I already got entrance to senmon (専門学校) and also paid tuition fee.

But the question is,there's a blank period between withdrawal & senmon enrollment which is about a month.
Since I'm holding a student visa but withdraw from school which mean I'm no longer student so can I legally stay in Japan between that gap?

I had some mental problem last month which make spike dropped.
I am not working any part time job!
So there's no illegal or over working.

by K01azuhiko