What time do the shares end?

Depending on what you mean, since that question in quite vague, I'll do my best to answer.
Trading of all shares ends when the stock market closes (in America the NYSE: New York Stock Exchange) at 4:00 PM Eastern Time. Depending on your location in the world 4:00 PM in New York, might be 3:00 AM for you. Eastern Time is -5 GMT, so calculate the rest.
The only other interpretation of your question could be when would a share "die". To my knowledge, a share ends when it starts trading at $0. Though there was a glitch during a crash a few months ago, where a stock traded at $0, but didn't "die". Stocks normally trade at $0 when the companies declare bankruptcy or is about to die.
Hope that helps.