If all in their remaining cards are matched, the player could lay them down with no discarding on their own very last turn. This finishes the game and there is no further play.
The player should discard just one card, https://aliviaunnk186609.blazingblog.com/30363061/the-5-second-trick-for-rummy-game