Unable to stop rails application running as window service

I having a rails application running as windows service and its
running ok as service but as i tried stop it using service.msc service
box ,it appears to be stopped but its effect is still there and when i
restarted the machine only then it stopped actully . i written a batch
file and converted it in to windows service the conten ofmy batch file
ruby script\sever -p 3000
could you please help me out