Kill a process without using kill command

Sorry, posted the question in other forum.