Log on to the Server where User Profile Synchronization Service was stuck in stopping state.
Make sure the Forefront Identity Manager and Forefront Identity Manager Synchronization Service are using the farm account as the service account
Launch SharePoint 2013 Management Shell
Get the GUID for User Profile Synchronization Service
Get-SPServiceInstance | Select-Object TypeName, ID
Check the status of User Profile Synchronization Service
Get-SPServiceInstance -Identity GUIDOfUserProfileSynchronization
To stop this , type the GUID of User Profile Synchronization Serviec
Stop-SPServiceInstance -Identity GUIDOfUserProfileSynchronization
IISRESET on the front end servers.