Running the stop command says the "server has been stopped" and does turn off. However, it doesn't fully exit and the process stays running. Tested via "CONSOLE" and "INGAME" and I get the same results and it does not exit properly.
[05:51:09] [Server thread/INFO]: Stopping server
[05:51:09] [Server thread/INFO]: Saving players
[05:51:09] [Server thread/INFO]: Saving worlds
[05:51:09] [Server thread/INFO]: Saving chunks for level '19w04b'/minecraft:the_nether
[05:51:09] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[05:51:09] [Server thread/INFO]: Saving chunks for level '19w04b'/minecraft:the_end
[05:51:09] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
[05:51:09] [Server thread/INFO]: Saving chunks for level '19w04b'/minecraft:overworld
[05:51:10] [Server thread/INFO]: ThreadedAnvilChunkStorage (19w04b): All chunks are saved
[05:51:10] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[05:51:10] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[05:51:10] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
[05:51:10] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
[05:51:10] [Server thread/INFO]: ThreadedAnvilChunkStorage (19w04b): All chunks are saved
[05:51:10] [Server thread/INFO]: ThreadedAnvilChunkStorage (19w04b): All chunks are saved
Linked issues
duplicates
Attachments
Comments

Please do not mark unreleased versions as affected.
You don't have access to them yet.
Thank you for your report!
However, this issue is a Duplicate of MC-139758.
If you have additional information, please add it to that report.
Please search before reporting, as it's likely that one exists already.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki
Please do not mark unreleased versions as affected.
You don't have access to them yet.