Yes, If your PC shuts down or you exit the match accidentally andwhen you try to log back in if the match is active then you will direct back to the match.If you log back in after the match is completed then you might face some plenties.
The Riot Anti Cheat Vanguard will deduct and you will be punished for leaving your team in the middle of the game and making your team lose.
What happens
if you abandon a match in Valorant?
When you abandon a match in Valorant you might face penalties imposed by the Valorant anti-cheat system. The minimum plenty you face of the ban of playing Valorant for 30 mins and it can be extended to 7-14 days.
Tutorial
How to Leave the Game in Valorant
There are two ways to leave the game in Valorant:
Leave the Match
You can leave the match by following the upcoming steps: