Taking the gas tank out of your car only to put it back because its empty won't work either ;-{
Batteries over time break down or wear out, taking them out and the putting it ban won't change anything.
If you have a Mac you could plug it into it and then using a program like [https://www.coconut-flavour.com/coconutbattery/|CoconutBattery] getting the full version will allow you to check your battery a bit better than what Apple or many on phone apps offer and if the phone won't turn on it might also work.