How can I stop Neo4j EE 5.9.0 server?

I downloaded Neo4j 5.9.0 tar file, extracted it, and started it on Ubuntu server through a Windows command prompt(bin/neo4j start) on my laptop.

Later, I tried to stop it using the command "bin/neo4j stop" from another command prompt, but I received "Neo4j is not running" even though it was still running well. I could access it through Neo4j browser.

The stop command worked for previous versions, but not for 5.9.0.

How can I stop the DBMS process? Do I need to use the kill command every time to stop it?

Neo4j EE 5.9.0 process persists even after killing the process or rebooting the machine. I've never experienced a process like this before. I didn't install it as a service or startup process.

paste the results of
ps -ef | grep neo4j
that will say what and were it is running and how.
Docs on the command are here :Neo4j Admin and Neo4j CLI - Operations Manual

neo4j start will start Neo4j as a daemon
if you look at the output from the ps it will give you the neo4j_home used and there should be a run directory with pid there that will match the output.
If you try to stop as a different user than you started with you won't be able to access the pid file and it will say Neo4j isn't running. I don't have an answer as to why it survives a reboot.

mine is started as a service

neo4j 67543 67511 0 Jul21 ? 00:59:23 /usr/lib/jvm/java-17-openjdk-17.0.6.0.9-0.3.ea.el8.x86_64/bin/java -cp /var/lib/neo4j/plugins/*:/etc/neo4j/*:/usr/share/neo4j/lib/* -XX:+UseG1GC -XX:-OmitStackTraceInFastThrow -XX:+AlwaysPreTouch -XX:+UnlockExperimentalVMOptions -XX:+TrustFinalNonStaticFields -XX:+DisableExplicitGC -XX:-RestrictContended -Djdk.nio.maxCachedBufferSize=1024 -Dio.netty.tryReflectionSetAccessible=true -Djdk.tls.ephemeralDHKeySize=2048 -Djdk.tls.rejectClientInitiatedRenegotiation=true -XX:FlightRecorderOptions=stackdepth=256 -XX:+UnlockDiagnosticVMOptions -XX:+DebugNonSafepoints --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED -Dlog4j2.disable.jmx=true -Dfile.encoding=UTF-8 -Xms2097152k -Xmx2097152k com.neo4j.server.enterprise.EnterpriseEntryPoint --home-dir=/var/lib/neo4j --config-dir=/etc/neo4j --console-mode

You mean a terminal shell from your windows laptop to an ubuntu server?

Pls double check that it isnt installed as a service by checking the service msc, this is really the only way I would expect it to restart after a reboot.